POV-Ray : Newsgroups : povray.general : Q: dot operators : Re: dot operators Server Time
13 Aug 2024 03:23:28 EDT (-0400)
  Re: dot operators  
From: Thorsten Froehlich
Date: 17 Nov 1998 19:13:06
Message: <36521112.0@news.povray.org>
In article <365### [at] peakeduee> , Margus Ramst <mar### [at] peakeduee>  wrote:
>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.

Thats simple: Its not in the language definition!



    Thorsten




____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: Tho### [at] csicom


Post a reply to this message

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