Space Engineers
|
Base 26 directions and Vector3.Zero Each component is only 0,-1 or 1; More...
Public Types | |
enum | Direction : byte { Direction.Forward = 1, Direction.Backward = 2, Direction.Left = 4, Direction.Right = 8, Direction.Up = 16, Direction.Down = 32 } |
Static Public Member Functions | |
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 More... | |
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) |
Static Public Attributes | |
static readonly Vector3[] | Directions |
static readonly Vector3I[] | DirectionsInt |
Base 26 directions and Vector3.Zero Each component is only 0,-1 or 1;
Definition at line 13 of file Base27Directions.cs.
enum VRageMath.Base27Directions.Direction : byte |
Enumerator | |
---|---|
Forward | |
Backward | |
Left | |
Right | |
Up | |
Down |
Definition at line 16 of file Base27Directions.cs.
Vector must be normalized, allowed values for components are: 0, 1, -1, 0.707, -0.707, 0.577, -0.577
Definition at line 208 of file Base27Directions.cs.
Definition at line 213 of file Base27Directions.cs.
Definition at line 218 of file Base27Directions.cs.
Definition at line 228 of file Base27Directions.cs.
|
inlinestatic |
Definition at line 238 of file Base27Directions.cs.
|
inlinestatic |
Definition at line 245 of file Base27Directions.cs.
|
inlinestatic |
Definition at line 185 of file Base27Directions.cs.
Definition at line 195 of file Base27Directions.cs.
|
inlinestatic |
Definition at line 190 of file Base27Directions.cs.
Definition at line 200 of file Base27Directions.cs.
|
inlinestatic |
Definition at line 168 of file Base27Directions.cs.
|
inlinestatic |
Definition at line 173 of file Base27Directions.cs.
|
inlinestatic |
Definition at line 180 of file Base27Directions.cs.
|
static |
Definition at line 26 of file Base27Directions.cs.
|
static |
Definition at line 94 of file Base27Directions.cs.