[examples] Added donut pie charts to shapes_pie_chart (#5277)

* Added donut chart option to pie chart example

* Increased example description buffer size

* Testing mouse trail building

* Removed unused variable

---------

Co-authored-by: Gideon Serfontein <gse@newspacesystems.com>
This commit is contained in:
GideonSerf 2025-10-16 09:53:55 +02:00 • committed by GitHub
commit c6f9f76afb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,3 @@
#include "raylib.h"
#include "raymath.h"
/*******************************************************************************************
*
* raylib [shapes] example - Draw a mouse trail (position history)
@ -18,6 +15,9 @@
*
********************************************************************************************/
#include "raylib.h"
#include "raymath.h"
// Define the maximum number of positions to store in the trail
#define MAX_TRAIL_LENGTH 30