Home
last modified time | relevance | path

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

/NW4C-2.0.3/include/nw/ut/
Dut_Float24.h542 class Float16
548 Float16() : m_Float32( 0.0f ) {} in Float16() function
555 /* implicit */ Float16( u32 bits16 ) in Float16() function
565 /* implicit */ Float16( f32 value ) : m_Float32( value ) {} in Float16() function
570 Float16& operator =(f32 value) { this->m_Float32 = value; return *this; }
571 Float16& operator =(u32 bits16) { this->m_Float32 = Bits16ToFloat32( bits16 ); return *this; }
581 Float16& operator +=(f32 rhs) { this->m_Float32 += rhs; return *this; }
582 Float16& operator -=(f32 rhs) { this->m_Float32 -= rhs; return *this; }
583 Float16& operator *=(f32 rhs) { this->m_Float32 *= rhs; return *this; }
584 Float16& operator /=(f32 rhs) { this->m_Float32 /= rhs; return *this; }
/NW4C-2.0.3/include/nw/gfx/
Dgfx_GraphicsDevice.h540 …ut::Float16(pos.y).GetFloat16Value() << 16 | ut::Float16(pos.x).GetFloat16Value(), // pos_y << 16 … in ActivateFragmentLightPosition()
542 ut::Float16(pos.z).GetFloat16Value(), // pos_z in ActivateFragmentLightPosition()
568 …ut::Float16(pos.y).GetFloat16Value() << 16 | ut::Float16(pos.x).GetFloat16Value(), // pos_y << 16 … in ActivateFragmentLightPosition()
570 ut::Float16(pos.z).GetFloat16Value(), // pos_z in ActivateFragmentLightPosition()