summaryrefslogtreecommitdiffhomepage
path: root/examples/shapes/shapes_splines_drawing.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/shapes/shapes_splines_drawing.c')
-rw-r--r--examples/shapes/shapes_splines_drawing.c12
1 files changed, 6 insertions, 6 deletions
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;
//------------------------------------------------------------------------------------