Extension methods for quaternions
More...
|
static bool | SameOrientation (this Quaternion q1, Quaternion q2) |
| Two quaternions can represent different rotations that lead to the same final orientation (one rotating around Axis with Angle, the other around -Axis with 2Pi-Angle). In this case, the quaternion == operator will return false. This method will return true. More...
|
|
static bool | DifferentOrientation (this Quaternion q1, Quaternion q2) |
| Two quaternions can represent different rotations that lead to the same final orientation (one rotating around Axis with Angle, the other around -Axis with 2Pi-Angle). In this case, the quaternion != operator will return true. This method will return false. More...
|
|
Extension methods for quaternions
◆ DifferentOrientation()
static bool Megapop.MegaCore.QuaternionExt.DifferentOrientation |
( |
this Quaternion |
q1, |
|
|
Quaternion |
q2 |
|
) |
| |
|
static |
Two quaternions can represent different rotations that lead to the same final orientation (one rotating around Axis with Angle, the other around -Axis with 2Pi-Angle). In this case, the quaternion != operator will return true. This method will return false.
- Parameters
-
- Returns
◆ SameOrientation()
static bool Megapop.MegaCore.QuaternionExt.SameOrientation |
( |
this Quaternion |
q1, |
|
|
Quaternion |
q2 |
|
) |
| |
|
static |
Two quaternions can represent different rotations that lead to the same final orientation (one rotating around Axis with Angle, the other around -Axis with 2Pi-Angle). In this case, the quaternion == operator will return false. This method will return true.
- Parameters
-
- Returns
The documentation for this class was generated from the following file: