POV-Ray : Newsgroups : povray.beta-test : tuple in dict : tuple in dict Server Time
1 Nov 2024 21:43:55 EDT (-0400)
  tuple in dict  
From: ingo
Date: 25 Nov 2018 11:03:26
Message: <XnsA9A5AD84BC3F1seed7@news.povray.org>
The little test fails on the first line of the second dict with a parse 
error ) expected , found.
If reported before, sorry, havn't followed along for a few years.
If not a bug, please see it as a feature request ;)

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

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

3.8.0-alpha.9893777+av622.msvc14.win64
Win10

ingo


Post a reply to this message

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