POV-Ray : Newsgroups : povray.general : #IF question using a substring : Re: #IF question using a substring Server Time
7 Aug 2024 23:18:29 EDT (-0400)
  Re: #IF question using a substring  
From: Patrick Dugan
Date: 9 May 2001 14:51:56
Message: <3af991cc$1@news.povray.org>
Thanks!  I only looked in the string function area, I never expected that to
be in the float functions descriptions.

"Wlodzimierz ABX Skiba" <abx### [at] abxartpl> wrote in message
news:3af961a2$1@news.povray.org...
> Patrick Dugan wrote in message <3af94c4c$1@news.povray.org>...
> >I am trying to determine what the front of a string is and depending on
what
> >that substring is declare certan values.
>
> You should look at description of strcmp() in "Float Functions" chapter.
Of
> course in POV documentation.
>
> --
> #macro Sig(A,B,X)_(A,B)_(B,X)_(X,A)#end#macro
_(A,B)cylinder{<A.x,A.y,3>,<B.u,
> B.v,3>.1,9}#end global_settings{max_trace_level 9}light_source{0
1}camera{up y
>
*4right-3*x}blob{_(<3,1>,<1,-5>)_(<2,-2>,<4,-2>)Sig(x,<-1,1.5>,<1,3>)_(z-1,z
-4
> )pigment{rgb 1}}box{-3 3pigment{rgb 0}finish{reflection 1}hollow} //
POV-Ray31
>
>
>


Post a reply to this message

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