POV-Ray : Newsgroups : povray.general : Possible BUG in function-handling (V3.5) : Re: Possible BUG in function-handling (V3.5) Server Time
5 Aug 2024 18:20:25 EDT (-0400)
  Re: Possible BUG in function-handling (V3.5)  
From: Christoph Hormann
Date: 13 Aug 2002 08:47:51
Message: <3D58FFF7.C627E386@gmx.de>
jansb000 wrote:
> 
> [...]
> 
> #declare my_circle_centre = <1.1, 2.2, 3.3>;
> #declare my_fun =
> function(v) {
>    my_circle_centre.x  + v
> }
> // my_circle_centre.x is not recognised as a float.
> 
> I think that my_circle_centre.x should be treated as a float.

This is not a bug but a known limitation.  It's probably possible to add
support for this but it isn't really necessary, just use a float variable
to store the value of vector.x.

Christoph

-- 
POV-Ray tutorials, IsoWood include,                 
TransSkin and more: http://www.tu-bs.de/~y0013390/  
Last updated 03 Aug. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message

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