Package | Description |
---|---|
graphicslib3D |
Modifier and Type | Method and Description |
---|---|
Quaternion |
Quaternion.add(Quaternion other)
Returns a new quaternion which is the result of adding this quaternion to
the specified other quaternion.
|
Quaternion |
Quaternion.conjugate()
Returns a new
Quaternion which is the conjugate of this
Quaternion . |
Quaternion |
Quaternion.multiplyBy(double scaleFactor)
Returns a new quaternion which is the result of multiplying (scaling)
this quaternion by the specified scale factor.
|
Quaternion |
Quaternion.multiplyBy(Quaternion q)
Returns a new quaternion which is the product of this quaternion
post-multiplied by the specified quaternion.
|
Quaternion |
Quaternion.slerp(Quaternion quat,
double amount)
Spherical interpolation between this quaternion and quat.
|
Modifier and Type | Method and Description |
---|---|
Quaternion |
Quaternion.add(Quaternion other)
Returns a new quaternion which is the result of adding this quaternion to
the specified other quaternion.
|
double |
Quaternion.dot(Quaternion other)
Returns the dot-product of this quaternion with the specified quaternion.
|
Quaternion |
Quaternion.multiplyBy(Quaternion q)
Returns a new quaternion which is the product of this quaternion
post-multiplied by the specified quaternion.
|
Quaternion |
Quaternion.slerp(Quaternion quat,
double amount)
Spherical interpolation between this quaternion and quat.
|