DesignEngrLab / TVGL

Tessellation and Voxelization Geometry Library
http://designengrlab.github.io/TVGL/
MIT License
58 stars 17 forks source link

Tessellated solid "transfer" method #19

Closed mvelayati closed 7 years ago

mvelayati commented 7 years ago

Can we add a transfer method to the Tessellated class in order to simply move the solid to a new location?

micampbell commented 7 years ago

You can use the Transform method which is a non-static method under TessellatedSolid. Only provide values for the last column of the 4x4 matrix. | 1 0 0 tx | | 0 1 0 ty | | 0 0 1 tz | | 0 0 0 1 |