Fixed discrepancy between compiler intrinsics mode and unparallelized mode. Also added const * *= operator to matrix.

This commit is contained in:
Leonetienne
2021-11-17 19:28:51 +01:00
parent b168289208
commit 2a505e0321
8 changed files with 78 additions and 17 deletions

View File

@@ -128,7 +128,11 @@ namespace TransformRelated
Vector3d point(32, 19, -14);
Assert::IsTrue((point * a.ToRotationMatrix()).Similar(a * point));
// Generate debug output
std::wstringstream ss;
ss << (point * a.ToRotationMatrix()) << std::endl << L"===" << (a * point) << std::endl;
Assert::IsTrue((point * a.ToRotationMatrix()).Similar(a * point), ss.str().c_str());
}
return;