POV-Ray : Newsgroups : povray.general : Declaring y component only : Declaring y component only Server Time
10 Aug 2024 20:59:17 EDT (-0400)
  Declaring y component only  
From: Greg M  Johnson
Date: 23 Oct 1999 10:59:10
Message: <3811cd3e@news.povray.org>
Can I declare the y component only?

For example, if I want to say,

#declare velocity[n].y=velocity[n].y*0.9;

Do I have to say,

#declare velocity[n]=<velocity[n].x,velocity[n].y*0.9,velocity[n].z>;

The former OUGHT to be good enough!  I think pov gave me error messages
until I went to the trouble of the latter.....


Post a reply to this message

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