3#include <Foundation/Basics.h>
4#include <Foundation/Math/Declarations.h>
14 PL_DECLARE_POD_TYPE();
23 void operator=(
float f);
32 operator float()
const;
50 PL_DECLARE_POD_TYPE();
55 void operator=(
const plVec2& vVec);
66 PL_DECLARE_POD_TYPE();
71 void operator=(
const plVec3& vVec);
82 PL_DECLARE_POD_TYPE();
87 void operator=(
const plVec4& vVec);
A 16 bit IEEE float class. Often called "half".
Definition Float16.h:11
bool operator!=(const plFloat16 &c2)
Returns true, if both values are not identical.
Definition Float16.h:38
bool operator==(const plFloat16 &c2)
Returns true, if both values are identical.
Definition Float16.h:35
plUInt16 GetRawData() const
Returns the raw 16 Bit data.
Definition Float16.h:29
void SetRawData(plUInt16 uiData)
Create float16 from raw data.
Definition Float16.h:26
plFloat16()=default
Default constructor does not initialize the value.
A simple helper class to use half-precision floats (plFloat16) as vectors.
Definition Float16.h:47
A simple helper class to use half-precision floats (plFloat16) as vectors.
Definition Float16.h:63
A simple helper class to use half-precision floats (plFloat16) as vectors.
Definition Float16.h:79