Jolt Physics
A multi core friendly Game Physics Engine
|
Enumerations | |
enum | ERoundingMode { ROUND_TO_NEG_INF , ROUND_TO_POS_INF , ROUND_TO_NEAREST } |
Define half-float rounding modes. More... | |
Functions | |
template<int RoundingMode> | |
HalfFloat | FromFloatFallback (float inV) |
Convert a float (32-bits) to a half float (16-bits), fallback version when no intrinsics available. | |
template<int RoundingMode> | |
JPH_INLINE HalfFloat | FromFloat (float inV) |
Convert a float (32-bits) to a half float (16-bits) | |
Vec4 | ToFloatFallback (UVec4Arg inValue) |
Convert 4 half floats (lower 64 bits) to floats, fallback version when no intrinsics available. | |
JPH_INLINE Vec4 | ToFloat (UVec4Arg inValue) |
Convert 4 half floats (lower 64 bits) to floats. | |
JPH_INLINE HalfFloat HalfFloatConversion::FromFloat | ( | float | inV | ) |
Convert a float (32-bits) to a half float (16-bits)
Convert a float (32-bits) to a half float (16-bits), fallback version when no intrinsics available.
JPH_INLINE Vec4 HalfFloatConversion::ToFloat | ( | UVec4Arg | inValue | ) |
Convert 4 half floats (lower 64 bits) to floats.