Home | History | Annotate | Download | only in glshared

Lines Matching refs:Fixed

352 	class Fixed
355 static Fixed create (deInt32 value) { Fixed v; v.m_value = value; return v; }
356 static Fixed fromFloat (float value) { Fixed v; v.m_value = (deInt32)(value * 32768.0f); return v; }
359 inline Fixed operator+ (const Fixed& other) const { return create(m_value + other.getValue()); }
360 inline Fixed operator* (const Fixed& other) const { return create(m_value * other.getValue()); }
361 inline Fixed operator/ (const Fixed& other) const { return create(m_value / other.getValue()); }
362 inline Fixed operator% (const Fixed& other) const { return create(m_value % other.getValue()); }
363 inline Fixed operator- (const Fixed& other) const { return create(m_value - other.getValue()); }
365 inline Fixed& operator+= (const Fixed& other) { m_value += other.getValue(); return *this; }
366 inline Fixed& operator*= (const Fixed& other) { m_value *= other.getValue(); return *this; }
367 inline Fixed& operator/= (const Fixed& other) { m_value /= other.getValue(); return *this; }
368 inline Fixed& operator-= (const Fixed& other) { m_value -= other.getValue(); return *this; }
370 inline bool operator== (const Fixed& other) const { return m_value == other.m_value; }
371 inline bool operator!= (const Fixed& other) const { return m_value != other.m_value; }
372 inline bool operator< (const Fixed& other) const { return m_value < other.m_value; }
373 inline bool operator> (const Fixed& other) const { return m_value > other.m_value; }
374 inline bool operator<= (const Fixed& other) const { return m_value <= other.m_value; }
375 inline bool operator>= (const Fixed& other) const { return m_value >= other.m_value; }
387 explicit GLValue (Fixed value) : type(Array::INPUTTYPE_FIXED), fi(value) {}
407 Fixed fi;