POV-Ray : Newsgroups : povray.newusers : declaring variables and float operations : Re: declaring variables and float operations Server Time
5 Sep 2024 18:21:02 EDT (-0400)
  Re: declaring variables and float operations  
From: DeathMacabre
Date: 19 Feb 2000 14:11:45
Message: <38AEEAF0.E71680CE@fcmail.com>
oh
i just realized what i did
THANKS!!!
stupid syntax mistake huh?

Thorsten Froehlich wrote:

> Fixed version:
>
> #declare RCon = 2.3;
> #declare XPos = 0.0;
> #declare ZPos = RCon-XPos;
> #while (XPos <= RCon)
>   sphere {< XPos,0, ZPos>,.1}
>   sphere {< XPos,0,-ZPos>,.1}
>   sphere {<-XPos,0,-ZPos>,.1}
>   sphere {<-XPos,0, ZPos>,.1}
>   #declare XPos = XPos+.1;
>   #declare ZPos = RCon-XPos;
> #end//while


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.