|
|
I can't see where I go wrong. This is supposed to be an array
of xyz vectors. The error message is:
File Context (5 lines):
xsp_point
Parse Error: Insufficent [sic] number of initializers
POV source is:
#macro xsp_point(xspc, zspc)
<xspc, 0, zspc>
#end
#declare Track_path = array[4] {
xsp_point( 147.5762, 144.0371), // Error points here.
xsp_point( 152.7021, 96.0146),
xsp_point( 171.1753, 60.6523),
xsp_point( 219.02, 59.0303)
}
Post a reply to this message
|
|
|
|
David Harmon wrote:
> I can't see where I go wrong. This is supposed to be an array
> of xyz vectors. The error message is:
>
> File Context (5 lines):
> xsp_point
> Parse Error: Insufficent [sic] number of initializers
>
> POV source is:
>
> #macro xsp_point(xspc, zspc)
> <xspc, 0, zspc>
> #end
> #declare Track_path = array[4] {
> xsp_point( 147.5762, 144.0371), // Error points here.
> xsp_point( 152.7021, 96.0146),
> xsp_point( 171.1753, 60.6523),
> xsp_point( 219.02, 59.0303)
> }
This works:
#macro xsp_point(xspc, zspc)
<xspc, 0, zspc>
#end // macro xsp_point
#declare Track_path =
array[4] {
(xsp_point( 147.5762, 144.0371)),
(xsp_point( 152.7021, 96.0146)),
(xsp_point( 171.1753, 60.6523)),
(xsp_point( 219.02, 59.0303))
}
--
Tor Olav
http://subcube.net
http://subcube.com
Post a reply to this message
|
|
|
|
On Sun, 15 Aug 2004 21:19:09 +0200 in povray.newusers,
Tor Olav Kristensen <tor### [at] TOBEREMOVEDhotmailcom> wrote:
>#declare Track_path =
> array[4] {
> (xsp_point( 147.5762, 144.0371)),
Thanks, Tor!
Post a reply to this message
|
|