Element
constructor(from: Vector3dc, to: Vector3dc, rotation: Model.Element.Rotation? = null, faces: Map<Model.Direction, Model.Element.Face>, shade: Boolean = true, lightEmission: Int = 0)
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.