Jolt Physics
A multi core friendly Game Physics Engine
|
#include <Jolt/Math/Vec4.h>
Go to the source code of this file.
Namespaces | |
namespace | HalfFloatConversion |
Typedefs | |
using | HalfFloat = uint16 |
Enumerations | |
enum | HalfFloatConversion::ERoundingMode { HalfFloatConversion::ROUND_TO_NEG_INF , HalfFloatConversion::ROUND_TO_POS_INF , HalfFloatConversion::ROUND_TO_NEAREST } |
Define half-float rounding modes. More... | |
Functions | |
template<int RoundingMode> | |
HalfFloat | HalfFloatConversion::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 | HalfFloatConversion::FromFloat (float inV) |
Convert a float (32-bits) to a half float (16-bits) | |
Vec4 | HalfFloatConversion::ToFloatFallback (UVec4Arg inValue) |
Convert 4 half floats (lower 64 bits) to floats, fallback version when no intrinsics available. | |
JPH_INLINE Vec4 | HalfFloatConversion::ToFloat (UVec4Arg inValue) |
Convert 4 half floats (lower 64 bits) to floats. | |