Skip to content

Commit

Permalink
Remove constexpr specifier from Vector::normalize() method
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkrupinski committed Sep 17, 2020
1 parent 9c7d4a9 commit 34a5131
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Osiris/SDK/Vector.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ struct Vector {
return Vector{ x + add, y + add, z + add };
}

constexpr Vector& normalize() noexcept
Vector& normalize() noexcept
{
x = std::isfinite(x) ? std::remainder(x, 360.0f) : 0.0f;
y = std::isfinite(y) ? std::remainder(y, 360.0f) : 0.0f;
Expand Down

0 comments on commit 34a5131

Please sign in to comment.