Added length functions to matrix types and quaternions and tests. Ticket #97

This commit is contained in:
Christophe Riccio
2011-05-26 02:23:51 +01:00
parent 9e1bc811e3
commit 706c299636
20 changed files with 130 additions and 16 deletions

View File

@@ -35,10 +35,16 @@ namespace detail
template <typename T>
struct tquat// : public genType<T, tquat>
{
typedef T value_type;
enum ctor{null};
typedef T value_type;
typedef std::size_t size_type;
public:
value_type x, y, z, w;
GLM_FUNC_DECL size_type length() const;
// Constructors
tquat();