1313void renderBoard (const GameBoard& board, const Player& perspective);
1414
1515GLuint loadImageAsTexture (const std::string& name);
16- GLuint loadTextAsTexture (const std::string& font, int fontSize, const std::string& text);
17-
18- void renderText (const std::string& font, int fontSize, const std::pair<float , float > bottomLeft, const std::pair<float , float > topRight, const std::string& text);
19- void renderText (const std::pair<float , float > bottomLeft, const std::pair<float , float > topRight, const GLuint& texture);
20- void renderRectangle (const std::pair<float , float > bottomLeft, const std::pair<float , float > topRight, const std::tuple<float , float , float > color);
21-
22- void renderTexturedCircle (const std::pair<float , float > texCenter, const float texRadius, const std::pair<float , float > screenCenter,
16+ GLuint loadTextAsTexture (const std::string& font, int fontSize,
17+ const std::string& text);
18+
19+ void renderText (const std::string& font, int fontSize,
20+ const std::pair<float , float > bottomLeft,
21+ const std::pair<float , float > topRight, const std::string& text);
22+ void renderText (const std::pair<float , float > bottomLeft,
23+ const std::pair<float , float > topRight, const GLuint& texture);
24+ void renderRectangle (const std::pair<float , float > bottomLeft,
25+ const std::pair<float , float > topRight,
26+ const std::tuple<float , float , float > color);
27+
28+ void renderTexturedCircle (const std::pair<float , float > texCenter,
29+ const float texRadius, const std::pair<float , float > screenCenter,
2330 const float screenRadius, const GLuint& texture, int articulation = 20 );
24- void renderTexturedRectangle (const std::pair<float , float > screenBottomLeft, const std::pair<float , float > screenTopRight,
25- const std::pair<float , float > texBottomLeft, const std::pair<float , float > texTopRight, const GLuint& texture);
31+ void renderTexturedRectangle (const std::pair<float , float > screenBottomLeft,
32+ const std::pair<float , float > screenTopRight,
33+ const std::pair<float , float > texBottomLeft,
34+ const std::pair<float , float > texTopRight, const GLuint& texture);
2635
2736std::pair<float , float > coordToScreen (const Coordinate& coord);
2837Coordinate screenToCoord (const std::pair<float , float >&);
@@ -31,6 +40,7 @@ void vertexPair(const Coordinate& coord);
3140
3241void texCoordPair (const std::pair<float , float >& p);
3342
34- std::pair<float , float > averagePoint (const std::vector<std::pair<float , float >>& points);
43+ std::pair<float , float > averagePoint (
44+ const std::vector<std::pair<float , float >>& points);
3545
3646#endif
0 commit comments