diff options
| author | raysan5 <raysan5@gmail.com> | 2016-06-09 21:00:21 +0200 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2016-06-09 21:00:21 +0200 |
| commit | e2cfc6b838c3e8579f406b6ef18978fc9d958b1c (patch) | |
| tree | db1c77c9aade22641f2de57d089943c8f2b937b1 /src | |
| parent | 3c1be60c6615fdcf8d2e3ddec2c9d7de8174b280 (diff) | |
| download | raylib-e2cfc6b838c3e8579f406b6ef18978fc9d958b1c.tar.gz raylib-e2cfc6b838c3e8579f406b6ef18978fc9d958b1c.zip | |
Reduced physic steps resolution
Diffstat (limited to 'src')
| -rw-r--r-- | src/physac.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/physac.h b/src/physac.h index c8466a12..f576ad8a 100644 --- a/src/physac.h +++ b/src/physac.h @@ -190,7 +190,7 @@ PHYSACDEF Rectangle TransformToRectangle(Transform transform); // Defines and Macros //---------------------------------------------------------------------------------- #define MAX_PHYSIC_BODIES 256 // Maximum available physic bodies slots in bodies pool -#define PHYSICS_STEPS 450 // Physics update steps number (divided calculations in steps per frame) to get more accurately collisions detections +#define PHYSICS_STEPS 64 // Physics update steps per frame for improved collision-detection #define PHYSICS_ACCURACY 0.0001f // Velocity subtract operations round filter (friction) #define PHYSICS_ERRORPERCENT 0.001f // Collision resolve position fix |
