POV-Ray : Newsgroups : povray.beta-test : tuple in dict : Re: tuple in dict Server Time
24 Jun 2021 15:26:16 EDT (-0400)
  Re: tuple in dict  
From: ingo
Date: 25 Nov 2018 11:13:03
Message: <XnsA9A5AF266B202seed7@news.povray.org>
Probably completely misread the docs on the previous one.

The following parses forever:

#declare fig = dictionary {
  ["head"]  : <0, 0, 0>,
  ["nose"]  : <1, 0, 0>,
  ["atlas"] : <0,-1, 0>,
  ["tail"]  : <0,-3, 0>
}


#declare bone = dictionary {
  ["face"]  : array{fig["head"], fig["nose"]},
  ["neck"]  : array{fig["head"], fig["atlas"]},
  ["spine"] : array{fig["atlas"], fig["tail"]}
}
  
ingo


Post a reply to this message

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