libvmath4

view src/quat.cc @ 0:4d6383605d64

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 05 Oct 2014 04:00:05 +0300
parents
children
line source
1 #include "quat.h"
2 #include "vector.h"
4 using namespace vmath;
6 Quat::Quat(const Vector4 &v)
7 {
8 x = v.x;
9 y = v.y;
10 z = v.z;
11 w = v.w;
12 }