Package | Description |
---|---|
pythagoras.d |
The Pythagoras geometry utility classes specialized on
double . |
Modifier and Type | Class and Description |
---|---|
class |
Quaternion
A unit quaternion.
|
Modifier and Type | Field and Description |
---|---|
static IQuaternion |
Quaternion.IDENTITY
The identity quaternion.
|
Modifier and Type | Method and Description |
---|---|
Quaternion |
Quaternion.mult(IQuaternion other) |
Quaternion |
IQuaternion.mult(IQuaternion other)
Multiplies this quaternion by another.
|
Quaternion |
Quaternion.mult(IQuaternion other,
Quaternion result) |
Quaternion |
IQuaternion.mult(IQuaternion other,
Quaternion result)
Multiplies this quaternion by another and stores the result in the provided object.
|
Quaternion |
Quaternion.multLocal(IQuaternion other)
Multiplies this quaternion in-place by another.
|
Quaternion |
Quaternion.set(IQuaternion other)
Copies the elements of another quaternion.
|
Matrix4 |
Matrix4.setToRotation(IQuaternion quat)
Sets this to a rotation matrix.
|
Matrix3 |
Matrix3.setToRotation(IQuaternion quat)
Sets this to a rotation matrix.
|
Matrix4 |
Matrix4.setToTransform(IVector3 translation,
IQuaternion rotation)
Sets this to a matrix that first rotates, then translates.
|
Matrix4 |
Matrix4.setToTransform(IVector3 translation,
IQuaternion rotation,
double scale)
Sets this to a matrix that first scales, then rotates, then translates.
|
Matrix4 |
Matrix4.setToTransform(IVector3 translation,
IQuaternion rotation,
IVector3 scale)
Sets this to a matrix that first scales, then rotates, then translates.
|
Quaternion |
Quaternion.slerp(IQuaternion other,
double t) |
Quaternion |
IQuaternion.slerp(IQuaternion other,
double t)
Interpolates between this and the specified other quaternion.
|
Quaternion |
Quaternion.slerp(IQuaternion other,
double t,
Quaternion result) |
Quaternion |
IQuaternion.slerp(IQuaternion other,
double t,
Quaternion result)
Interpolates between this and the specified other quaternion, placing the result in the
object provided.
|
Quaternion |
Quaternion.slerpLocal(IQuaternion other,
double t)
Interpolates in-place between this and the specified other quaternion.
|
Constructor and Description |
---|
Quaternion(IQuaternion other)
Copy constructor.
|
Copyright © 2017. All rights reserved.