Home
last modified time | relevance | path

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

/NW4C-2.0.3/include/nw/ut/
Dut_Float24.h384 class Float20
390 Float20() : m_Float32( 0.0f ) {} in Float20() function
397 /* implicit */ Float20( u32 bits20 ) in Float20() function
407 /* implicit */ Float20( f32 value ) : m_Float32( value ) {} in Float20() function
412 Float20& operator =(f32 value) { this->m_Float32 = value; return *this; }
413 Float20& operator =(u32 bits20) { this->m_Float32 = Bits20ToFloat32( bits20 ); return *this; }
422 Float20& operator +=(f32 rhs) { this->m_Float32 += rhs; return *this; }
423 Float20& operator -=(f32 rhs) { this->m_Float32 -= rhs; return *this; }
424 Float20& operator *=(f32 rhs) { this->m_Float32 *= rhs; return *this; }
425 Float20& operator /=(f32 rhs) { this->m_Float32 /= rhs; return *this; }
/NW4C-2.0.3/include/nw/gfx/res/
Dgfx_ResLight.h344 ref().m_DistanceAttenuationScale = ut::Float20::Float32ToBits20(1.0f / diff); in SetDistanceAttenuation()
345 ref().m_DistanceAttenuationBias = ut::Float20::Float32ToBits20(-start / diff); in SetDistanceAttenuation()