Correction on quaternion initialization values
a 0 0 0 0 quaternion is not validpull/287/head
parent
b2ac7b878f
commit
3acf60f5d7
|
@ -55,7 +55,7 @@ template <typename TReal>
|
|||
class aiQuaterniont
|
||||
{
|
||||
public:
|
||||
aiQuaterniont() : w(), x(), y(), z() {}
|
||||
aiQuaterniont() : w(1.0), x(), y(), z() {}
|
||||
aiQuaterniont(TReal pw, TReal px, TReal py, TReal pz)
|
||||
: w(pw), x(px), y(py), z(pz) {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue