fix AlignedVector3 inconsisent interface with other Vector classes, default constructor and operator- were missing.

This commit is contained in:
Janek Kozicki
2019-12-05 17:18:05 +01:00
parent bb7ccac3af
commit 11d6465326
2 changed files with 9 additions and 0 deletions

View File

@@ -70,6 +70,9 @@ void alignedvector3()
VERIFY_IS_APPROX(f6,r1-r4);
}
FastType f8, f9(0,0,0);
VERIFY_IS_APPROX(f9-f1,-f1);
std::stringstream ss1, ss2;
ss1 << f1;
ss2 << r1;