Element

constructor(from: Vector3dc, to: Vector3dc, rotation: Model.Element.Rotation?, faces: Map<Model.Direction, Model.Element.Face>, shade: Boolean)

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.