java.lang.Object
de.grogra.persistence.ShareableBase
de.grogra.math.UniformScale
- All Implemented Interfaces:
Transform2D
,Transform3D
,Manageable
,Shareable
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.grogra.persistence.ShareableBase
addReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReference
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.grogra.persistence.Manageable
fieldModified, getStamp, manageableReadResolve, manageableWriteReplace
-
Field Details
-
$TYPE
-
scale$FIELD
-
-
Constructor Details
-
UniformScale
public UniformScale() -
UniformScale
public UniformScale(float scale)
-
-
Method Details
-
getManageableType
- Specified by:
getManageableType
in interfaceManageable
-
getScale
public float getScale() -
setScale
public void setScale(float value) -
transform
- Specified by:
transform
in interfaceTransform2D
-
transform
Description copied from interface:Transform3D
This methods performs a local coordinate transformation.- Specified by:
transform
in interfaceTransform3D
- Parameters:
in
- the transformation matrix of the coordinate system of the parentout
- the computed transformation is placed in here. May be the same reference asin
-