Framerate test (Press 1)
All checks were successful
Run ReCI Build Test / Explore-Gitea-Actions (push) Successful in 1m42s
All checks were successful
Run ReCI Build Test / Explore-Gitea-Actions (push) Successful in 1m42s
This commit is contained in:
@@ -206,7 +206,6 @@ namespace JGL {
|
||||
|
||||
// TODO: Implement the following:
|
||||
void FillTexturedTriangle();
|
||||
void FillTexturedPolygon();
|
||||
|
||||
|
||||
void DrawCubicBezierCurve(const Color4& color,
|
||||
@@ -215,9 +214,14 @@ namespace JGL {
|
||||
int subdivisions = 10,
|
||||
float thickness = 1);
|
||||
|
||||
/// Draws a series of lines where the last line will *always* connect to the beginning of the first.
|
||||
/// Draws a series of points where the last point always connects to the first point.
|
||||
void OutlinePolygon (const Color4& color, const std::vector<Vector2>& points, float thickness = 1);
|
||||
void FillPolygon (const Color4& color, std::vector<Vector2> points);
|
||||
|
||||
/// Draws a series of points where the last point always connects to the first point and fills it in.
|
||||
///TODO these ones are going to be extremely annoying.
|
||||
void FillPolygon (const Color4& color, const std::vector<Vector2>& points);
|
||||
void FillTexturedPolygon();
|
||||
|
||||
void OutlineRoundedRect(const Color4& color, const Vector2& pos, const Vector2& size, float radius = 5, float thickness = 1);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user