de.grogra.math
public final class UniformScale extends ShareableBase implements Transform2D, Transform3D
| Modifier and Type | Class and Description |
|---|---|
static class |
UniformScale.Type |
| Modifier and Type | Field and Description |
|---|---|
static UniformScale.Type |
$TYPE |
static SCOType.Field |
scale$FIELD |
| Constructor and Description |
|---|
UniformScale() |
UniformScale(float scale) |
| Modifier and Type | Method and Description |
|---|---|
ManageableType |
getManageableType() |
float |
getScale() |
void |
setScale(float value) |
void |
transform(Matrix3d in,
Matrix3d out) |
void |
transform(Matrix4d in,
Matrix4d out)
This methods performs a local coordinate transformation.
|
addReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReferenceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfieldModified, getStamp, manageableReadResolve, manageableWriteReplacepublic static final UniformScale.Type $TYPE
public static final SCOType.Field scale$FIELD
public ManageableType getManageableType()
getManageableType in interface Manageablepublic float getScale()
public void setScale(float value)
public void transform(Matrix3d in, Matrix3d out)
transform in interface Transform2Dpublic void transform(Matrix4d in, Matrix4d out)
Transform3Dtransform in interface Transform3Din - the transformation matrix of the coordinate system of the parentout - the computed transformation is placed in here. May be the
same reference as in