Testing mouse trail building
This commit is contained in:
parent
c398e83706
commit
242beefa2c
|
|
@ -1,6 +1,3 @@
|
||||||
#include "raylib.h"
|
|
||||||
#include "raymath.h"
|
|
||||||
|
|
||||||
/*******************************************************************************************
|
/*******************************************************************************************
|
||||||
*
|
*
|
||||||
* raylib [shapes] example - Draw a mouse trail (position history)
|
* 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 the maximum number of positions to store in the trail
|
||||||
#define MAX_TRAIL_LENGTH 30
|
#define MAX_TRAIL_LENGTH 30
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2372,7 +2372,7 @@ static void UpdateWebMetadata(const char *exHtmlPath, const char *exFilePath)
|
||||||
|
|
||||||
char exName[64] = { 0 }; // Example name: fileName without extension
|
char exName[64] = { 0 }; // Example name: fileName without extension
|
||||||
char exCategory[16] = { 0 }; // Example category: core, shapes, text, textures, models, audio, shaders
|
char exCategory[16] = { 0 }; // Example category: core, shapes, text, textures, models, audio, shaders
|
||||||
char exDescription[512] = { 0 }; // Example description: example text line #3
|
char exDescription[256] = { 0 }; // Example description: example text line #3
|
||||||
char exTitle[64] = { 0 }; // Example title: fileName without extension, replacing underscores by spaces
|
char exTitle[64] = { 0 }; // Example title: fileName without extension, replacing underscores by spaces
|
||||||
|
|
||||||
// Get example name: replace underscore by spaces
|
// Get example name: replace underscore by spaces
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user