|
 |
platform info: WinNT4, PII 233, 128MB, POV3.5b2
looking at behavior of arrays on example of storing objects
#local A=sphere{10,2}
#local B=sphere{3,7}
#local Array=array[2]{A,B}
#local c=sphere{Array[0]}
above example works fine
than I expect that similiar syntax for functions works such way:
#local A=function(h){h^h}
#local B=function(h){A(h)-h}
#local Array=array[2]{A,B}
#local c=Array[0](1)
but only below version is parsed ok
#local A=function(h){h^h}
#local B=function(h){A(h)-h}
#local Array=array[2]{function{A(x)},function{B(x)}}
#local c=Array[0](1,0,0)
I think it's not very logical, but perhaps there are some limitations
inside source of current engine :-(
ABX
Post a reply to this message
|
 |
|
 |
This report is the same as
Newsgroups: povray.beta-test
Subject: identifier of function
Date: Wed, 19 Sep 2001 14:20:30 +0200
Message-ID: <s83hqt01d1q4r9u4b7tr8e3cg0nfoo25fe@4ax.com>
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trf de
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
 |