Home
last modified time | relevance | path

Searched refs:Float16 (Results 1 – 2 of 2) sorted by relevance

/NW4C-1.2.23/include/nw/ut/
Dut_Float24.h540 class Float16
546 Float16() : m_Float32( 0.0f ) {} in Float16() function
553 /* implicit */ Float16( u32 bits16 ) in Float16() function
563 /* implicit */ Float16( f32 value ) : m_Float32( value ) {} in Float16() function
568 Float16& operator =(f32 value) { this->m_Float32 = value; return *this; }
569 Float16& operator =(u32 bits16) { this->m_Float32 = Bits16ToFloat32( bits16 ); return *this; }
579 Float16& operator +=(f32 rhs) { this->m_Float32 += rhs; return *this; }
580 Float16& operator -=(f32 rhs) { this->m_Float32 -= rhs; return *this; }
581 Float16& operator *=(f32 rhs) { this->m_Float32 *= rhs; return *this; }
582 Float16& operator /=(f32 rhs) { this->m_Float32 /= rhs; return *this; }
/NW4C-1.2.23/include/nw/gfx/
Dgfx_GraphicsDevice.h538 …ut::Float16(pos.y).GetFloat16Value() << 16 | ut::Float16(pos.x).GetFloat16Value(), // pos_y << 16 … in ActivateFragmentLightPosition()
540 ut::Float16(pos.z).GetFloat16Value(), // pos_z in ActivateFragmentLightPosition()
566 …ut::Float16(pos.y).GetFloat16Value() << 16 | ut::Float16(pos.x).GetFloat16Value(), // pos_y << 16 … in ActivateFragmentLightPosition()
568 ut::Float16(pos.z).GetFloat16Value(), // pos_z in ActivateFragmentLightPosition()