Added axis angle accessors, removed == operator.

This commit is contained in:
James Goppert
2016-08-16 11:05:01 -04:00
parent 19554c4470
commit 4f13809420
6 changed files with 53 additions and 27 deletions
+2 -2
View File
@@ -17,10 +17,10 @@ int main()
TEST(fabs(v1.dot(v2) - 130.0f) < 1e-5);
v2.normalize();
Vector<float, 5> v3(v2);
TEST(v2 == v3);
TEST(isEqual(v2, v3));
float data1_sq[] = {1,4,9,16,25};
Vector<float, 5> v4(data1_sq);
TEST(v1 == v4.pow(0.5));
TEST(isEqual(v1, v4.pow(0.5)));
return 0;
}