mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-26 13:08:30 +00:00
Fix spacing and some comments
This commit is contained in:
@@ -30,13 +30,13 @@
|
||||
#endif
|
||||
|
||||
#include <stdlib.h> // Declares malloc() and free() for memory management
|
||||
#include <math.h> // abs() and fminf()
|
||||
#include <math.h> // Declares cos(), sin(), abs() and fminf() for math operations
|
||||
|
||||
//----------------------------------------------------------------------------------
|
||||
// Defines and Macros
|
||||
//----------------------------------------------------------------------------------
|
||||
#define MAX_PHYSIC_OBJECTS 256
|
||||
#define PHYSICS_STEPS 450
|
||||
#define MAX_PHYSIC_OBJECTS 256 // Maximum available physic object slots in objects pool
|
||||
#define PHYSICS_STEPS 450 // Physics update steps number (divided calculations in steps per frame) to get more accurately collisions detections
|
||||
#define PHYSICS_ACCURACY 0.0001f // Velocity subtract operations round filter (friction)
|
||||
#define PHYSICS_ERRORPERCENT 0.001f // Collision resolve position fix
|
||||
|
||||
|
Reference in New Issue
Block a user