RGBHalf 8h source 01
405 m_alpha /= factor; 00406 return this; 00407 } 00408 00409 inline YAHalf YAHalf::operator + ( const YAHalf &other ) 00410 { 00411 m_luminance += other.m_luminance; 00412 m_alpha += other.m_alpha; 00413 return YAHalf(this); 00414 } 00415 00416 inline int YAHalf::operator == ( const YAHalf &other ) const 00417 { 00418 if (m_luminance == other.m_luminance && m_alpha == other.m_alpha) 00419 return TRUE; 00420 return FALSE; 00421 } ```