Merge pull request #105 from victorfisac/develop
Fix spacing and some comments
This commit is contained in:
commit
35ee4e52c8
1 changed files with 10 additions and 10 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue