Merge pull request #105 from victorfisac/develop

Fix spacing and some comments
This commit is contained in:
Ray
2016-03-24 12:25:56 +01:00

View File

@ -30,13 +30,13 @@
#endif #endif
#include <stdlib.h> // Declares malloc() and free() for memory management #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 // Defines and Macros
//---------------------------------------------------------------------------------- //----------------------------------------------------------------------------------
#define MAX_PHYSIC_OBJECTS 256 #define MAX_PHYSIC_OBJECTS 256 // Maximum available physic object slots in objects pool
#define PHYSICS_STEPS 450 #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_ACCURACY 0.0001f // Velocity subtract operations round filter (friction)
#define PHYSICS_ERRORPERCENT 0.001f // Collision resolve position fix #define PHYSICS_ERRORPERCENT 0.001f // Collision resolve position fix