Fixed header formatting
This commit is contained in:
parent
059251b846
commit
e699a20f11
@ -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>
|
||||
|
@ -71,5 +71,8 @@
|
||||
<ClInclude Include="TrapazoidalPrismCollider.h">
|
||||
<Filter>Headerdateien</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="version.h">
|
||||
<Filter>Headerdateien</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
</Project>
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user