Added vector2.

This commit is contained in:
jgoppert committed 2015-11-07 14:27:12 -05:00
1 parent ace2751715
commit 9b995e19f3
12 files changed
+160 -45

No files matched your search

+6
View File
@@ -23,6 +23,12 @@ int main()
R2 *= A_I;
R2.print();
assert(R2 == I);
Matrix3f A2 = eye<float, 3>()*2;
Matrix3f B = A2.emult(A2);
Matrix3f B_check = eye<float, 3>()*4;
assert(B == B_check);
return 0;
}