Home | History | Annotate | Download | only in glshared

Lines Matching refs:floatToHalf

440 		static Half			create			(float value)				{ Half h; h.m_value = floatToHalf(value); return h; }
448 inline Half& operator+= (const Half& other) { m_value = floatToHalf(halfToFloat(other.getValue()) + halfToFloat(m_value)); return *this; }
449 inline Half& operator*= (const Half& other) { m_value = floatToHalf(halfToFloat(other.getValue()) * halfToFloat(m_value)); return *this; }
450 inline Half& operator/= (const Half& other) { m_value = floatToHalf(halfToFloat(other.getValue()) / halfToFloat(m_value)); return *this; }
451 inline Half& operator-= (const Half& other) { m_value = floatToHalf(halfToFloat(other.getValue()) - halfToFloat(m_value)); return *this; }
463 inline static deFloat16 floatToHalf (float f);
534 inline deFloat16 GLValue::Half::floatToHalf (float f)