Updated the to use static libraries too.
[blobbuild.git] / Quat.h
blob43236949f4f782ef4c052caab779b935b6fd4385
1 #ifndef QUAT_H
2 #define QUAT_H
4 #include "vector.h"
7 class Quat
9 public:
10 Quat ();
11 Quat (double, Vector);
12 Quat (double, double, double, double);
13 Quat (double, double, double);
15 Quat operator+(const Quat& q2) const;
16 Quat operator-(const Quat& q2) const;
17 Quat operator*(const Quat& q2) const;
18 Quat inv () const;
19 Quat conj () const;
20 Quat scale (double) const;
22 double norm() const;
25 private:
26 double s;
27 Vector v;
31 #endif