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.Base27Directions
Malware edited this page Dec 21, 2018
·
44 revisions
← Index
Namespace: VRageMath
Assembly: VRage.Math.dll
Base 26 directions and Vector3.Zero Each component is only 0,-1 or 1;
static _Vector3[] Directions_ |
|
static _Vector3I[] DirectionsInt_ |
static _bool IsBaseDirection(ref Vector3 vec)_ |
|
static _bool IsBaseDirection(ref Vector3I vec)_ |
|
static _bool IsBaseDirection(Vector3 vec)_ |
|
static _Vector3 GetVector(int direction)_ |
|
static _Vector3I GetVectorInt(int direction)_ |
|
static _Vector3 GetVector(Direction dir)_ |
|
static _Vector3I GetVectorInt(Direction dir)_ |
|
static _Direction GetDirection(Vector3 vec)_ |
Vector must be normalized, allowed values for components are: 0, 1, -1, 0.707, -0.707, 0.577, -0.577 |
static _Direction GetDirection(Vector3I vec)_ |
|
static _Direction GetDirection(ref Vector3 vec)_ |
|
static _Direction GetDirection(ref Vector3I vec)_ |
|
static _Direction GetForward(ref Quaternion rot)_ |
|
static _Direction GetUp(ref Quaternion rot)_ |
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!