summaryrefslogtreecommitdiffhomepage
path: root/src/config.h
diff options
context:
space:
mode:
authorRay <[email protected]>2023-11-08 17:42:35 +0100
committerRay <[email protected]>2023-11-08 17:42:35 +0100
commitbd3ffa7db3f3f52e075811288de6aae5eb920701 (patch)
treec6f8f087fdbb486bda870b5139025b275bc46f0f /src/config.h
parentbbf0c3a46d27b723e73483bdd787c7713b31fe1a (diff)
downloadraylib-bd3ffa7db3f3f52e075811288de6aae5eb920701.tar.gz
raylib-bd3ffa7db3f3f52e075811288de6aae5eb920701.zip
REDESIGNED: Spline drawing functionality
This change allows more versatile and consistent splines drawing. It also gives more control to advance users to draw splines as individual segments.
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index c6d553a5..3fd1c81f 100644
--- a/src/config.h
+++ b/src/config.h
@@ -138,6 +138,10 @@
// Some lines-based shapes could still use lines
#define SUPPORT_QUADS_DRAW_MODE 1
+// rshapes: Configuration values
+//------------------------------------------------------------------------------------
+#define SPLINE_SEGMENT_DIVISIONS 24 // Spline segments subdivisions
+
//------------------------------------------------------------------------------------
// Module: rtextures - Configuration Flags