@EqualityStructural public final class KTransformMatrix4x4 extends Object implements KTransformType
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
com.io7m.jtensors.parameterized.PMatrixI4x4F<RSpaceObjectType,RSpaceWorldType> |
getModel() |
int |
hashCode() |
static KTransformType |
newTransform(com.io7m.jtensors.parameterized.PMatrixI4x4F<RSpaceObjectType,RSpaceWorldType> model)
Construct a new transformation with the given matrix.
|
<A,E extends Throwable,V extends KTransformVisitorType<A,E>> |
transformAccept(V v)
Be visited by the given generic visitor.
|
void |
transformMakeMatrix4x4F(KTransformContext context,
com.io7m.jtensors.parameterized.PMatrixM4x4F<RSpaceObjectType,RSpaceWorldType> m)
Produce a 4x4 matrix for the current transformation, writing the
resulting matrix to
m . |
public static KTransformType newTransform(com.io7m.jtensors.parameterized.PMatrixI4x4F<RSpaceObjectType,RSpaceWorldType> model)
model
- The object-to-world matrixpublic com.io7m.jtensors.parameterized.PMatrixI4x4F<RSpaceObjectType,RSpaceWorldType> getModel()
public <A,E extends Throwable,V extends KTransformVisitorType<A,E>> A transformAccept(V v) throws E extends Throwable
KTransformType
transformAccept
in interface KTransformType
A
- The return type of the visitorE
- The type of exceptions raised by the visitorV
- A specific visitor subtypev
- The visitorE
- Iff the visitor raises E
E extends Throwable
public void transformMakeMatrix4x4F(KTransformContext context, com.io7m.jtensors.parameterized.PMatrixM4x4F<RSpaceObjectType,RSpaceWorldType> m)
KTransformType
m
.transformMakeMatrix4x4F
in interface KTransformType
context
- The current transform contextm
- The matrix to which values will be writtenCopyright © 2015 <code@io7m.com> http://io7m.com