org.odejava.display
Interface DisplayTransformable
public interface DisplayTransformable
Defines a common interface used by objects whose transforms are linked
to ODE objects and can be updated by the BoundDisplayObject class.
- Author:
- William Denniss
|
Method Summary |
void |
setTransform(org.openmali.vecmath2.Tuple3f position,
org.openmali.vecmath2.Quaternion4f quaternion)
Sets the transform of the underlying display object to the given
position and quaternion. |
setTransform
void setTransform(org.openmali.vecmath2.Tuple3f position,
org.openmali.vecmath2.Quaternion4f quaternion)
- Sets the transform of the underlying display object to the given
position and quaternion.
- Parameters:
position - The position the the display object will be moved to.quaternion - The rotational quaternion the the display object will be set to.