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.
This commit is contained in:
Ray 2023-11-08 17:42:35 +01:00
parent bbf0c3a46d
commit bd3ffa7db3
3 changed files with 206 additions and 46 deletions

View file

@ -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