|
Bullet Collision Detection & Physics Library
|
#include "LinearMath/btScalar.h"

Go to the source code of this file.
Enumerations | |
| enum | GIM_SCALAR_TYPES { G_STYPE_REAL =0 , G_STYPE_REAL2 , G_STYPE_SHORT , G_STYPE_USHORT , G_STYPE_INT , G_STYPE_UINT , G_STYPE_INT64 , G_STYPE_UINT64 } |
Functions | |
| GREAL | gim_inv_sqrt (GREAL f) |
| Computes 1.0f / sqrtf(x). Comes from Quake3. See http://www.magic-software.com/3DGEDInvSqrt.html. | |
| GREAL | gim_sqrt (GREAL f) |
Definition in file gim_math.h.
Definition at line 78 of file gim_math.h.
| #define G_EPSILON SIMD_EPSILON |
Definition at line 60 of file gim_math.h.
| #define G_HALF_PI 1.5707963f |
Definition at line 51 of file gim_math.h.
| #define G_PI 3.14159265358979f |
Definition at line 50 of file gim_math.h.
Definition at line 79 of file gim_math.h.
Definition at line 58 of file gim_math.h.
| #define G_ROOT2 1.41421f |
Definition at line 56 of file gim_math.h.
| #define G_ROOT3 1.73205f |
Definition at line 55 of file gim_math.h.
| #define G_SIGN_BITMASK 0x80000000 |
Definition at line 59 of file gim_math.h.
| #define G_TWO_PI 6.28318530f |
Definition at line 53 of file gim_math.h.
| #define G_UINT_INFINITY 0xffffffff |
A very very high value.
Definition at line 57 of file gim_math.h.
Absolute integer representation of a floating-point value.
Definition at line 88 of file gim_math.h.
returns a clamped number
Definition at line 108 of file gim_math.h.
Floating-point representation of an integer value.
Definition at line 91 of file gim_math.h.
Definition at line 110 of file gim_math.h.
Definition at line 119 of file gim_math.h.
Integer representation of a floating-point value.
Definition at line 82 of file gim_math.h.
Definition at line 101 of file gim_math.h.
Definition at line 103 of file gim_math.h.
Definition at line 99 of file gim_math.h.
Definition at line 93 of file gim_math.h.
Definition at line 96 of file gim_math.h.
Definition at line 94 of file gim_math.h.
Definition at line 97 of file gim_math.h.
| #define GIM_NEAR_EQUAL | ( | v1, | |
| v2 ) GIM_IS_ZERO((v1-v2)) |
Definition at line 105 of file gim_math.h.
Signed integer representation of a floating-point value.
Definition at line 85 of file gim_math.h.
Definition at line 134 of file gim_math.h.
| #define GIM_SWAP_NUMBERS | ( | a, | |
| b ) |
Swap numbers.
Definition at line 113 of file gim_math.h.
Definition at line 41 of file gim_math.h.
Definition at line 45 of file gim_math.h.
Definition at line 39 of file gim_math.h.
Definition at line 40 of file gim_math.h.
Definition at line 43 of file gim_math.h.
Definition at line 42 of file gim_math.h.
Definition at line 44 of file gim_math.h.
| Enumerator | |
|---|---|
| G_STYPE_REAL | |
| G_STYPE_REAL2 | |
| G_STYPE_SHORT | |
| G_STYPE_USHORT | |
| G_STYPE_INT | |
| G_STYPE_UINT | |
| G_STYPE_INT64 | |
| G_STYPE_UINT64 | |
Definition at line 64 of file gim_math.h.
Computes 1.0f / sqrtf(x). Comes from Quake3. See http://www.magic-software.com/3DGEDInvSqrt.html.
Definition at line 141 of file gim_math.h.
Definition at line 148 of file gim_math.h.