Package gaiasky.scene.component
Class RefSysTransform
java.lang.Object
gaiasky.scene.component.RefSysTransform
- All Implemented Interfaces:
com.badlogic.ashley.core.Component
-
Field Summary
Modifier and TypeFieldDescriptionboolean
com.badlogic.gdx.math.Matrix4
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
setTransformFunction
(String transformFunction) void
setTransformMatrix
(double[] matrixValues) void
setTransformMatrix
(com.badlogic.gdx.math.Matrix4 m) void
void
setTransformName
(String transformFunction) void
setTransformValues
(double[] transformValues) Constructs the transformation matrix from a double array containing the values in a column-major order (first the four values of the first column, then the second, etc.).
-
Field Details
-
transformName
-
matrix
-
matrixf
public com.badlogic.gdx.math.Matrix4 matrixf -
floatVersion
public boolean floatVersion
-
-
Constructor Details
-
RefSysTransform
public RefSysTransform()
-
-
Method Details
-
setTransformFunction
-
setTransformName
-
setMatrix
-
setTransformMatrix
public void setTransformMatrix(double[] matrixValues) -
setTransformMatrix
-
setTransformMatrix
public void setTransformMatrix(com.badlogic.gdx.math.Matrix4 m) -
setTransformValues
public void setTransformValues(double[] transformValues) Constructs the transformation matrix from a double array containing the values in a column-major order (first the four values of the first column, then the second, etc.). The double array must have at least 16 elements; the first 16 will be copied.
-