public class RotationChunk extends Chunk
KeyFramerInfoChunk for more information about using
animations from a 3ds file| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ROTATION_TAG
String that will be used as a data object in the transform that the
RotationInterpolator will be a child of so it may be look up later.
|
| Constructor and Description |
|---|
RotationChunk() |
| Modifier and Type | Method and Description |
|---|---|
Quat4f |
getQuaternion(Vector3f axis,
float angle)
This converts a 3ds angle and axis to
a quaternion rotation.
|
void |
loadData(ChunkChopper chopper)
Loads the quaternion for a rotation of a shape
and notifies mesh info chunk.
|
addSubChunk, getDescription, getName, getSubChunk, initialize, setDescription, setName, toStringpublic static java.lang.String ROTATION_TAG
public void loadData(ChunkChopper chopper)
public Quat4f getQuaternion(Vector3f axis,
float angle)
Copyright © 2000-2013 Microcrowd. All Rights Reserved.