POV-Ray : Newsgroups : povray.bugreports : 2-d vector components (uv) bug Server Time
22 Nov 2024 19:36:38 EST (-0500)
  2-d vector components (uv) bug (Message 1 to 1 of 1)  
From: Dan Connelly
Subject: 2-d vector components (uv) bug
Date: 25 Sep 1998 13:45:17
Message: <360BC887.F8938CFB@flash.net>
The component operators don't work on 2-d vectors.  This
problem has existed 3.02 (at least).   A sample file :

----------------------------------------
light_source { 3 color rgb 1 }
camera { location 2 look_at 0 }
sphere { 0, 1 pigment { color rgb 1 } }

#declare uv = <1, 2>;
#debug concat("uv.u = ", str(uv.u, 0, -1), "\n")
#debug concat("uv.v = ", str(uv.v, 0, -1), "\n")
----------------------------------------

Dan Connelly
Version 3.1r1 W95
PII 128MB


-- 
http://www.flash.net/~djconnel/


Post a reply to this message

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