virtual int getSolidCount()
Returns the number of solids.
Contains all classes and functions for the VoxelFarm engine.
It allows to access to the faces and materials of a list of solids.
virtual MaterialId getSolidMaterial(int solid)
Returns the material of a solid.
virtual int getFaceCount(int solid)
Returns the number of faces in a solid.
virtual void getFace(int solid, int index, Algebra::Vector &v0, Algebra::Vector &v1, Algebra::Vector &v2)
Get the vertices of a face of a solid.