Fixed header formatting
This commit is contained in:
parent
059251b846
commit
e699a20f11
@ -39,6 +39,7 @@
|
|||||||
<ClInclude Include="Vector2.h" />
|
<ClInclude Include="Vector2.h" />
|
||||||
<ClInclude Include="Vector3.h" />
|
<ClInclude Include="Vector3.h" />
|
||||||
<ClInclude Include="Vector4.h" />
|
<ClInclude Include="Vector4.h" />
|
||||||
|
<ClInclude Include="version.h" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<PropertyGroup Label="Globals">
|
<PropertyGroup Label="Globals">
|
||||||
<VCProjectVersion>16.0</VCProjectVersion>
|
<VCProjectVersion>16.0</VCProjectVersion>
|
||||||
|
@ -71,5 +71,8 @@
|
|||||||
<ClInclude Include="TrapazoidalPrismCollider.h">
|
<ClInclude Include="TrapazoidalPrismCollider.h">
|
||||||
<Filter>Headerdateien</Filter>
|
<Filter>Headerdateien</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="version.h">
|
||||||
|
<Filter>Headerdateien</Filter>
|
||||||
|
</ClInclude>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
@ -89,12 +89,12 @@ namespace Eule
|
|||||||
return (a * it) + (b * t);
|
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;
|
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;
|
return Abs(a - b) <= epsilon;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user