Implemented cylinder shape, also fixed the coordinate system (again). I fucking hate...
[fail.git] / scenegraph / Vector4u8Input.h
blobe6bdbef809e63bde92cc40a37eb5aa1f86d7bcfc
1 #ifndef AWFUL_SCENEGRAPH_VECTOR4U8INPUT_H_
2 #define AWFUL_SCENEGRAPH_VECTOR4U8INPUT_H_
4 #include "core/core.h"
5 #include "math/Vector4u8.h"
7 namespace awful { namespace scenegraph
9 struct Vector4u8Input
11 Vector4u8Input( uint8_t r = 255, uint8_t g = 255, uint8_t b = 255, uint8_t a = 255 ) :
12 m_Value( r, g, b, a )
16 math::Vector4u8& value() { return m_Value; }
17 const math::Vector4u8& value() const { return m_Value; }
19 bool operator==( const Vector4u8Input& b ) const
21 return m_Value == b.m_Value;
24 bool operator!=( const Vector4u8Input& b ) const
26 return m_Value != b.m_Value;
29 bool operator<( const Vector4u8Input& b ) const
31 return m_Value < b.m_Value;
34 private:
35 math::Vector4u8 m_Value;
39 #endif