POV-Ray : Newsgroups : povray.beta-test : [Doc] Error in str(A,L,P) example : [Doc] Error in str(A,L,P) example Server Time
2 Nov 2024 15:23:24 EDT (-0400)
  [Doc] Error in str(A,L,P) example  
From: Francois Labreque
Date: 26 Oct 2001 22:32:58
Message: <3BDA1C49.6020809@videotron.ca>
Section 6.1.7.2

In the examples for the str() function,


    str(123.456,9,3) " 123.456"
    str(123.456,5,0) " 123"

Should either be:

    str(123.456,8,3) " 123.456"
    str(123.456,4,0) " 123"

or:

    str(123.456,9,3) "  123.456"
    str(123.456,5,0) "  123"

-- 
/*Francois Labreque*/#local a=x+y;#local b=x+a;#local c=a+b;#macro P(F//
/*    flabreque    */L)polygon{5,F,F+z,L+z,L,F pigment{rgb 9}}#end union
/*        @        */{P(0,a)P(a,b)P(b,c)P(2*a,2*b)P(2*b,b+c)P(b+c,<2,3>)
/*   videotron.ca  */}camera{location<6,1.25,-6>look_at a orthographic}


Post a reply to this message

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