Arguments: |
|
---|
Arguments: |
|
---|---|
Returns: | quaternion sum of the two quaternions |
Returns: | The angle of rotation represented by this quaternion. |
---|
Returns: | The axis of rotation represented by this quaternion. |
---|
Returns: | a copy of this Quaternion. |
---|
Make a copy of this quaternion.
Arguments: |
|
---|---|
Returns: | Dot product of the two quaternions |
param rhs: any type returns: True if rhs is not a quaternion and x,y,z,and w fields
rtype: | bool |
---|
Arguments: |
|
---|---|
Returns: | A quaternion constructed so that the -z axis (lookat direction) points in the same direction as the direction vector, with the up vector as close as possible to the given up vector. |
Returns: | The inverse of this quaternion |
---|
Returns: | true if the quaternion is (near) zero/identity, i.e. that it represents no rotation, false otherwise |
---|
Returns: | The length of the quaternion |
---|
Returns: | the length-squared of the quaternion |
---|
Arguments: |
|
---|---|
Returns: | The quaternion product of two quaternions |
Returns: | Returns the negation of the quaternion |
---|
Returns: | The quaternion normal to this quaternion |
---|
Arguments: |
|
---|---|
Returns: | A quaternion scaled by the scalar parameter |
Arguments: |
|
---|---|
Returns: | quaternion difference of the two quaternions |
Returns: | The x-axis of the quaternion as a Vec3 |
---|
Returns: | The y-axis of the quaternion as a Vec3 |
---|
Returns: | The z-axis of the quaternion as a Vec3 |
---|