POV-Ray : Newsgroups : povray.beta-test : Incorrect detection of seperators in vectors : Re: Incorrect detection of seperators in vectors Server Time
2 Nov 2024 05:22:06 EDT (-0400)
  Re: Incorrect detection of seperators in vectors  
From: Warp
Date: 17 Jan 2002 07:34:49
Message: <3c46c4e9@news.povray.org>
Kevin Ellis <kev### [at] tiscalicouk> wrote:
: Windows seems to detect a . (full stop) as a , (comma) in a vector if you
: give it an invalid number, e.g <1,1,0.0.5>

  As Mark said, that's not an invalid number from the point of view of the
parser.
  The parser sees that in the same way as <1,1,0.0,.5>.

  (This is a trick commonly used in pov-signatures to reduce its size.)

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

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