Element
data class Element(val from: Vector3dc, val to: Vector3dc, val rotation: Model.Element.Rotation?, val faces: Map<Model.Direction, Model.Element.Face>, val shade: Boolean)
A voxel of a Model.
Parameters
from
The start position of the voxel.
to
The end position of the voxel.
rotation
The rotation of the voxel.
faces
A map of the voxel's faces.
Constructors
Link copied to clipboard
constructor(from: Vector3dc, to: Vector3dc, rotation: Model.Element.Rotation?, faces: Map<Model.Direction, Model.Element.Face>, shade: Boolean)