24 #ifndef __PolyVox_Vector_H__
25 #define __PolyVox_Vector_H__
61 template <u
int32_t Size,
typename Type>
68 Vector(Type x, Type y, Type z);
70 Vector(Type x, Type y, Type z, Type w);
87 bool operator<(const Vector<Size,Type>& rhs)
const;
104 Type
getX(
void)
const;
106 Type
getY(
void)
const;
108 Type
getZ(
void)
const;
110 Type
getW(
void)
const;
130 double length(
void)
const;
144 Type m_tElements[Size];
149 template <u
int32_t Size,
typename Type>
152 template <u
int32_t Size,
typename Type>
155 template <u
int32_t Size,
typename Type>
158 template <u
int32_t Size,
typename Type>
161 template <u
int32_t Size,
typename Type>
164 template <u
int32_t Size,
typename Type>
167 template <u
int32_t Size,
typename Type>
168 std::ostream& operator<<(std::ostream& os, const Vector<Size,Type>& vector);