Skip to content

Commit

Permalink
Update ElasticSprite Code Style
Browse files Browse the repository at this point in the history
update a missed function's code style.
  • Loading branch information
Hapaxia committed Feb 20, 2025
1 parent 17942d0 commit ab9c217
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SelbaWard/ElasticSprite.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ void loadShader()
areShadersLoaded = true;
}

inline bool isValidVertexIndex(const unsigned int vertexIndex)
inline bool isValidVertexIndex(const std::size_t vertexIndex)
{
return (vertexIndex < 4);
return (vertexIndex < 4u);
}

inline sf::Vector2f linesIntersection(const sf::Vector2f aStart, const sf::Vector2f aEnd, const sf::Vector2f bStart, const sf::Vector2f bEnd)
Expand Down

0 comments on commit ab9c217

Please sign in to comment.