|
static void | AssertBlittable< T > () |
|
static void | ThrowNonBlittable< T > () |
|
static uint | NormalizeFloat (float value, float min, float max, int bits) |
| Normalizes uniform-spaced float within min/max into uint with specified number of bits. This does not preserve 0 when min = -max More...
|
|
static float | DenormalizeFloat (uint value, float min, float max, int bits) |
| Denormalizes uint with specified number of bits into uniform-space float within min/max. This does not preserve 0 when min = -max More...
|
|
static uint | NormalizeFloatCenter (float value, float min, float max, int bits) |
| Normalizes uniform-spaced float within min/max into uint with specified number of bits. This preserves 0 when min = -max More...
|
|
static float | DenormalizeFloatCenter (uint value, float min, float max, int bits) |
| Denormalizes uint with specified number of bits into uniform-space float within min/max. This preserves 0 when min = -max More...
|
|
static int | GetDivisionCeil (int num, int div) |
|
Definition at line 10 of file MyLibraryUtils.cs.
static void VRage.Library.Utils.MyLibraryUtils.AssertBlittable< T > |
( |
| ) |
|
|
inlinestatic |
static float VRage.Library.Utils.MyLibraryUtils.DenormalizeFloat |
( |
uint |
value, |
|
|
float |
min, |
|
|
float |
max, |
|
|
int |
bits |
|
) |
| |
|
inlinestatic |
Denormalizes uint with specified number of bits into uniform-space float within min/max. This does not preserve 0 when min = -max
Definition at line 69 of file MyLibraryUtils.cs.
static float VRage.Library.Utils.MyLibraryUtils.DenormalizeFloatCenter |
( |
uint |
value, |
|
|
float |
min, |
|
|
float |
max, |
|
|
int |
bits |
|
) |
| |
|
inlinestatic |
Denormalizes uint with specified number of bits into uniform-space float within min/max. This preserves 0 when min = -max
Definition at line 91 of file MyLibraryUtils.cs.
static int VRage.Library.Utils.MyLibraryUtils.GetDivisionCeil |
( |
int |
num, |
|
|
int |
div |
|
) |
| |
|
inlinestatic |
static uint VRage.Library.Utils.MyLibraryUtils.NormalizeFloat |
( |
float |
value, |
|
|
float |
min, |
|
|
float |
max, |
|
|
int |
bits |
|
) |
| |
|
inlinestatic |
Normalizes uniform-spaced float within min/max into uint with specified number of bits. This does not preserve 0 when min = -max
Definition at line 58 of file MyLibraryUtils.cs.
static uint VRage.Library.Utils.MyLibraryUtils.NormalizeFloatCenter |
( |
float |
value, |
|
|
float |
min, |
|
|
float |
max, |
|
|
int |
bits |
|
) |
| |
|
inlinestatic |
Normalizes uniform-spaced float within min/max into uint with specified number of bits. This preserves 0 when min = -max
Definition at line 80 of file MyLibraryUtils.cs.
static void VRage.Library.Utils.MyLibraryUtils.ThrowNonBlittable< T > |
( |
| ) |
|
|
inlinestatic |
The documentation for this class was generated from the following file: