summaryrefslogtreecommitdiffhomepage
path: root/src/physac.h
AgeCommit message (Collapse)Author
2021-05-31WARNING: Moved some **extra** raylib libraries to /extras/ directoryRay
2021-04-28Corrected issue #1742Ray
2021-03-02Reviewed defines, try to avoid elif statementsRay
2021-02-20[Physics] Fix typecast warnings generated by visual studio 2019 (#1599)Jeffery Myers
* More warning fixes for physics and math * fix a crash introduced with the warning changed. Co-authored-by: Jeffery Myers <[email protected]>
2021-02-14Update physac.hraysan5
2021-01-20REVIEWED: physac module and examples #1525Ray
2021-01-12Reorder typedefs in physac.h to be in header part (#1528)Dmitry Matveyev
2020-10-05Review "aggregate initializations" #1403Ray
2020-02-10Review DEBUG trace log and custom allocatorsraysan5
Not exposing some data structures
2020-02-03Remove all trail spacesRay
2020-01-29Review PHYSAC_NO_THREADS on WebAssemblyRay
2020-01-29Review bool type checkRay
2020-01-29Review spacingRay
2020-01-29Renamed Mat2 to Matrix2x2Ray
2019-10-29Review formatting for PR #1004Ray
2019-10-29fix various problems, thanks CppCheck :) (#1005)João Coelho
* explained a bit more the core_window_letterbox example * fixed a few 'ups' moments that could lead to mild head pain and time loss
2019-10-17Remove trailing spacesRay
2019-05-20Avoid some warningsRay
2019-05-10Add WinMM library for linkageraysan5
Now it's required on Windows if not using a busy wait loop
2018-10-10Physac.h fix for variable array size declaration.noshbar
Generating the projects using CMake, targeting VS2017, results in an error when compiling. This is due to physac.h trying to make a 'vertices' array of size 'int count', making it const does not work, either. This changes the static declaration to a malloc/free combo. Tested using the physics-demo.
2018-10-04Fix physac's fixed time stepPablo Marcos Oltra
2018-07-29Fix Physac examples to be run without creating new threadPablo Marcos Oltra
2018-05-29Reviewed Windows resource file nameRay
2018-03-10Fixed compilation code comment in headervictorfisac
2018-03-10Fixed memory leaks in physics step operationsvictorfisac
2018-01-25#include header for time() on WindowsAhmad Fatoum
2017-12-24Review physac timming systemraysan5
2017-11-22Avoid duplicate definition of feature macroAhmad Fatoum
Feature macros need to be defined before #including any headers, preferably through the build system, but this is good enough. Fixes a compile error on my fork's Travis CI.
2017-07-30Make physac work on OS XBenjamin Summerton
Physac wasn't working on OS X. It looks like the necessary timing code wasn't being compiled in by the preprocessor. fixes #340
2017-06-11Add define to have CLOCK_MONOTONIC work in c99Michael Vetter
If we compile with c99 without gnu extensions (gnu99) we need this define, to have CLOCK_MONOTONIC and similar macros available
2017-05-16Some reviews for RPIRay
2017-05-11Avoid math function duplicatesRay
2017-04-16Updated physac to latest versionraysan5
2017-03-24c99 fix, some linux housekeepingRDR8
2017-03-06Update physac source and examples with new changesvictorfisac
2017-03-06Fix bug in isGrounded state calculationsvictorfisac
2017-02-16Improved modules description -IN PROGRESS-Ray
Working in modules configuration flags...
2016-12-22Fix physac.h building on linuxSaggi Mizrahi
Signed-off-by: Saggi Mizrahi <[email protected]>
2016-11-21Updated Physac libraryvictorfisac
2016-06-14Updated physac header documentationvictorfisac
2016-06-14Fixed spacing and set UpdatePhysics() function as static...victorfisac
and remove static from PhysicsThread().
2016-06-14Fix current time valuevictorfisac
2016-06-14Fixed bug in delta time calculation...victorfisac
and added PHYSAC_NO_THREADS define. Improved physac example drawing frames per second in screen.
2016-06-12Added internal hi-resolution timer to physac...victorfisac
... and now physac thread creation is done in InitPhysics() and it is destroyed in ClosePhysics(). User just need to call these functions to use physac module.
2016-06-11Convert physac module from static steps to fixed time stepsvictorfisac
Old physics update system used a static number of steps to calculate physics (450 for desktop and 64 for android). It was too much and it was limited by target frame time... Now physics update runs in a secondary thread using a fixed delta time value to update steps. Collisions are perfectly detected and resolved and performance has been improved so much.
2016-06-11Corrected keywords usageraysan5
2016-06-09Reduced physic steps resolutionraysan5
2016-06-09Converted physac module to header onlyraysan5
2016-06-02Removed DrawPhysicObjectInfo() functionraysan5
To avoid additional dependencies
2016-05-20Updated to avoid pointersraysan5