Inline various operators in math types for better performance in Debug builds and better inlining

This commit is contained in:
Wojtek Figat
2022-05-21 11:36:27 +02:00
parent e43ef605c2
commit b7459c7311
5 changed files with 72 additions and 249 deletions

View File

@@ -223,7 +223,7 @@ public:
/// <returns>Average arithmetic of all the components</returns>
double AverageArithmetic() const
{
return (X + Y + Z + W) * 0.25f;
return (X + Y + Z + W) * 0.25;
}
/// <summary>