POV-Ray : Newsgroups : povray.general : Q: dot operators : Q: dot operators Server Time
13 Aug 2024 03:17:35 EDT (-0400)
  Q: dot operators  
From: Margus Ramst
Date: 17 Nov 1998 17:24:15
Message: <3651F7C6.78F3442@peak.edu.ee>
I don't know if this is a bug or not, but it I can't redefine a single component
of a vector with dot operators, i.e.:

#declare Vector = <0,0,0>;
#declare Vector.x = 5; //This sort of operation gives an error

I would expect it to result in <5,0,0>
I know this can be worked around, but I don't see why it should be illegal.

Margus


Post a reply to this message

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