summaryrefslogtreecommitdiffhomepage
path: root/examples/shapes
diff options
context:
space:
mode:
Diffstat (limited to 'examples/shapes')
-rw-r--r--examples/shapes/shapes_bouncing_ball.c3
-rw-r--r--examples/shapes/shapes_splines_drawing.c12
2 files changed, 6 insertions, 9 deletions
diff --git a/examples/shapes/shapes_bouncing_ball.c b/examples/shapes/shapes_bouncing_ball.c
index 16273b65..38fade60 100644
--- a/examples/shapes/shapes_bouncing_ball.c
+++ b/examples/shapes/shapes_bouncing_ball.c
@@ -67,9 +67,6 @@ int main(void)
// On pause, we draw a blinking message
if (pause && ((framesCounter/30)%2)) DrawText("PAUSED", 350, 200, 30, GRAY);
- DrawCircle(400.5f, 300.5f, 50.0f, BLACK);
- DrawCircle(528.0f, 172.0f, 26.0f, BLACK);
-
DrawFPS(10, 10);
EndDrawing();
diff --git a/examples/shapes/shapes_splines_drawing.c b/examples/shapes/shapes_splines_drawing.c
index cfac931b..17dd0075 100644
--- a/examples/shapes/shapes_splines_drawing.c
+++ b/examples/shapes/shapes_splines_drawing.c
@@ -2,7 +2,7 @@
*
* raylib [shapes] example - splines drawing
*
-* Example originally created with raylib 4.6-dev, last time updated with raylib 4.6-dev
+* Example originally created with raylib 5.0, last time updated with raylib 5.0
*
* Example licensed under an unmodified zlib/libpng license, which is an OSI-certified,
* BSD-like license that allows static linking with closed source software
@@ -17,7 +17,7 @@
#define MAX_SPLINE_POINTS 32
-// Bezier spline control points
+// Cubic Bezier spline control points
// NOTE: Every segment has two control points
typedef struct {
Vector2 start;
@@ -26,10 +26,10 @@ typedef struct {
// Spline types
typedef enum {
- SPLINE_LINEAR = 0,
- SPLINE_BASIS, // B-Spline
- SPLINE_CATMULLROM,
- SPLINE_BEZIER
+ SPLINE_LINEAR = 0, // Linear
+ SPLINE_BASIS, // B-Spline
+ SPLINE_CATMULLROM, // Catmull-Rom
+ SPLINE_BEZIER // Cubic Bezier
} SplineType;
//------------------------------------------------------------------------------------