This repository was archived by the owner on Dec 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
VRageMath.Quaternion
Malware edited this page Dec 21, 2018
·
54 revisions
← Index
Namespace: VRageMath
Assembly: VRage.Math.dll
Defines a four-dimensional vector (x,y,z,w), which is used to efficiently rotate an object about the (x, y, z) vector by the angle theta, where w = cos(theta/2).
| Member | Description |
|---|---|
float X |
Specifies the x-value of the vector component of the quaternion. |
float Y |
Specifies the y-value of the vector component of the quaternion. |
float Z |
Specifies the z-value of the vector component of the quaternion. |
float W |
Specifies the rotation component of the quaternion. |
static Quaternion Identity
|
|
static Quaternion Zero
|
| Member | Description |
|---|---|
Vector3 Forward |
|
Vector3 Right |
|
Vector3 Up |
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!