Package | Description |
---|---|
com.tyrlib2.ai.steering | |
com.tyrlib2.graphics.animation | |
com.tyrlib2.graphics.scene | |
com.tyrlib2.math |
Modifier and Type | Method and Description |
---|---|
Quaternion |
PointMass.getOrientation() |
Quaternion |
IVehicle.getOrientation() |
Modifier and Type | Method and Description |
---|---|
void |
PointMass.setOrientation(Quaternion orientation) |
void |
IVehicle.setOrientation(Quaternion orientation) |
Modifier and Type | Field and Description |
---|---|
Quaternion[] |
AnimationFrame.boneRot |
Modifier and Type | Method and Description |
---|---|
void |
Bone.setPose(Vector3 pos,
Quaternion rot) |
void |
Bone.updateAll(Vector3 parentPos,
Quaternion parentRot,
Vector3 parentScale,
float[] parentTransform) |
Modifier and Type | Method and Description |
---|---|
Quaternion |
SceneNode.getAbsoluteRot()
Gets the absolute rotation of this node in world space
|
Quaternion |
SceneNode.getCachedAbsoluteRot()
Get the cashed absolute rotation of this node in world space
May be invalid.
|
Quaternion |
SceneNode.getRelativeRot()
Gets the rotation of this node relative to its parent
|
Modifier and Type | Method and Description |
---|---|
void |
SceneNode.rotate(Quaternion rotation)
Rotates this node by the passed rotation
|
void |
SceneNode.setAbsoluteRot(Quaternion rotation)
Sets the relative rotation of this node so that it will have
the passed absolute rotation of world space
|
void |
SceneNode.setRelativeRot(Quaternion rotation)
Set the relative rotation of this node
|
void |
SceneNode.update(Vector3 parentPos,
Quaternion parentRot,
Vector3 parentScale,
float[] parentTransform)
Updates the model matrix
|
void |
SceneNode.updateAll(Vector3 parentPos,
Quaternion parentRot,
Vector3 parentScale,
float[] parentTransform)
Updates the model matrix.
|
Modifier and Type | Method and Description |
---|---|
static Quaternion |
Quaternion.fromAxisAngle(Vector3 axis,
float angle)
Create a quaternion from an axis-angle rotation
|
static Quaternion |
Quaternion.getIdentity() |
Quaternion |
Quaternion.inverse()
Get the inverse of this quaternion
|
Quaternion |
Quaternion.multiply(Quaternion other)
Multiply this quaternion with another
|
Quaternion |
Quaternion.normalized()
Get a normalized version of this quaternion
|
Quaternion |
Quaternion.rotate(Vector3 axis,
float angle) |
static Quaternion |
Quaternion.slerp(Quaternion start,
Quaternion end,
float alpha)
Perform a spherical linear interpolation between the two quaternion q1 and q2
|
Modifier and Type | Method and Description |
---|---|
Quaternion |
Quaternion.multiply(Quaternion other)
Multiply this quaternion with another
|
void |
Quaternion.multiplyNoTmp(Quaternion other)
Multiply this quaternion with another
|
static Quaternion |
Quaternion.slerp(Quaternion start,
Quaternion end,
float alpha)
Perform a spherical linear interpolation between the two quaternion q1 and q2
|
Constructor and Description |
---|
Quaternion(Quaternion other) |