Fixed header formatting

This commit is contained in:
Leonetienne 2021-11-15 15:44:39 +01:00
parent 059251b846
commit e699a20f11
3 changed files with 7 additions and 3 deletions

View File

@ -39,6 +39,7 @@
<ClInclude Include="Vector2.h" />
<ClInclude Include="Vector3.h" />
<ClInclude Include="Vector4.h" />
<ClInclude Include="version.h" />
</ItemGroup>
<PropertyGroup Label="Globals">
<VCProjectVersion>16.0</VCProjectVersion>

View File

@ -71,5 +71,8 @@
<ClInclude Include="TrapazoidalPrismCollider.h">
<Filter>Headerdateien</Filter>
</ClInclude>
<ClInclude Include="version.h">
<Filter>Headerdateien</Filter>
</ClInclude>
</ItemGroup>
</Project>

View File

@ -89,12 +89,12 @@ namespace Eule
return (a * it) + (b * t);
}
inline constexpr double Math::Abs(const double a)
constexpr inline double Math::Abs(const double a)
{
return (a > 0.0) ? a : -a;
}
inline constexpr bool Math::Math::Similar(const double a, const double b, const double epsilon)
constexpr inline bool Math::Similar(const double a, const double b, const double epsilon)
{
return Abs(a - b) <= epsilon;
}