IDeformable

Interface implemented by types which can be deformed.

Members

Functions

deform
void deform(vec2[] deformed, bool absolute)

Deforms the IDeformable.

deform
void deform(size_t offset, vec2 deform, bool absolute)

Deforms a single vertex in the IDeformable

resetDeform
void resetDeform()

Resets the deformation for the IDeformable.

Properties

basePoints
const(vec2)[] basePoints [@property getter]

The base position of the deformable's points.

deformBaseMatrix
Basis deformBaseMatrix [@property getter]

The base matrix of the object before any parameters have been applied.

deformMatrix
Basis deformMatrix [@property getter]

World matrix of the deformable object.

deformPoints
vec2[] deformPoints [@property getter]

The points which may be deformed by the deformer.

Meta