Changes in this version:
-
A new
Mesh
object is defined that contains any number of user defined properties per triangle. To accesscolors
ormaterials
one should doproperties(mesh)[:colors]
orproperties(mesh)[:materials]
respectively. Note that the assignmet of colors and materials through turtle constructors maintains the same API. -
No
Scene
object exists anymore, a mesh contains all the information needed. TheScene
constructors are now replaced byMesh
constructors (i.e., replaceScene()
withMesh()
). -
The function
add!
has a sligthly different API, check the documentation and examples. -
One can add properties individually to a mesh using the
add_property!
function. This is required when meshes are constructed first and then added to a turtle or existing meshes. Check the API documentation for details of this function. -
Calls to
geoms()
should also be replaced withMesh()
-
When merging multiple meshes you need to ensure that they all have the same properties.