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.QuaternionD
Morten Aune Lyrstad edited this page Apr 16, 2022
·
44 revisions
← Index ← Namespace Index
public struct QuaternionDDefines 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). Uses double precision floating point numbers for calculation and storage
Namespace: VRageMath
Assembly: VRage.Math.dll
| Member | Description |
|---|---|
| \static QuaternionD Identity | |
| \double W | Specifies the rotation component of the quaternion. |
| \double X | Specifies the x-value of the vector component of the quaternion. |
| \double Y | Specifies the y-value of the vector component of the quaternion. |
| \double Z | Specifies the z-value of the vector component of the quaternion. |
| Member | Description |
|---|---|
| \QuaternionD(double, double, double, double) | |
| \QuaternionD(Vector3D, double) |
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!