Fix spacing and some comments

This commit is contained in:
victorfisac 2016-03-23 22:47:39 +01:00
parent 60223a358b
commit ea7afc8ec8

View file

@ -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