Remove unused MAX_SLICES constant
This commit is contained in:
parent
fcb4671775
commit
00c98a50ef
|
|
@ -31,11 +31,10 @@ int main(void)
|
||||||
//--------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------
|
||||||
const int screenWidth = 800;
|
const int screenWidth = 800;
|
||||||
const int screenHeight = 450;
|
const int screenHeight = 450;
|
||||||
const int MAX_SLICES = 10;
|
|
||||||
|
|
||||||
InitWindow(screenWidth, screenHeight, "raylib [shapes] example - interactive pie chart");
|
InitWindow(screenWidth, screenHeight, "raylib [shapes] example - interactive pie chart");
|
||||||
|
|
||||||
#define MAX_SLICES 10
|
#define MAX_SLICES 10
|
||||||
int sliceCount = 7;
|
int sliceCount = 7;
|
||||||
float values[MAX_SLICES] = {300.0f, 100.0f, 450.0f, 350.0f, 600.0f, 380.0f, 750.0f}; //initial slice values
|
float values[MAX_SLICES] = {300.0f, 100.0f, 450.0f, 350.0f, 600.0f, 380.0f, 750.0f}; //initial slice values
|
||||||
char labels[MAX_SLICES][32];
|
char labels[MAX_SLICES][32];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user