diff options
| author | SAOMDVN <[email protected]> | 2021-10-03 17:15:56 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-10-03 12:15:56 +0200 |
| commit | 3fc4a4c9749c61d02b0d9f3bebde26252a582abb (patch) | |
| tree | 3e1a912fa3aca5df338105dc776b8c22d4013346 /src/raylib.h | |
| parent | 03a88678da3fe7bf4ba952a6dfcabfeb380db14a (diff) | |
| download | raylib-3fc4a4c9749c61d02b0d9f3bebde26252a582abb.tar.gz raylib-3fc4a4c9749c61d02b0d9f3bebde26252a582abb.zip | |
Added DrawLineBezierCubic() (#2021)
Co-authored-by: SAOMDVN <[email protected]>
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h index cd41cea6..a925f73e 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1148,6 +1148,7 @@ RLAPI void DrawLineV(Vector2 startPos, Vector2 endPos, Color color); RLAPI void DrawLineEx(Vector2 startPos, Vector2 endPos, float thick, Color color); // Draw a line defining thickness RLAPI void DrawLineBezier(Vector2 startPos, Vector2 endPos, float thick, Color color); // Draw a line using cubic-bezier curves in-out RLAPI void DrawLineBezierQuad(Vector2 startPos, Vector2 endPos, Vector2 controlPos, float thick, Color color); //Draw line using quadratic bezier curves with a control point +RLAPI void DrawLineBezierCubic(Vector2 startPos, Vector2 endPos, Vector2 startControlPos, Vector2 endControlPos, float thick, Color color) //Draw line using cubic bezier curves with 2 control points RLAPI void DrawLineStrip(Vector2 *points, int pointCount, Color color); // Draw lines sequence RLAPI void DrawCircle(int centerX, int centerY, float radius, Color color); // Draw a color-filled circle RLAPI void DrawCircleSector(Vector2 center, float radius, float startAngle, float endAngle, int segments, Color color); // Draw a piece of a circle |
