raylib/src
ProfJski d3dae38449
Update CheckCollisionSpheres() to avoid sqrt
Square root calls are computationally expensive.  In this case, they can be avoided.  Instead of checking distance<RadA+RadB, check distance squared against (RadA+RadB) squared.  The dot product of Vector3Subtract(B,A) with itself gives distance squared, so I used this code instead of an element-by-element computation of distance squared.  The only downside is that your geometric code is very readable, whereas this is less so.
2019-05-08 13:54:12 -04:00
..
external Added WinMM library 2019-05-07 22:56:38 +02:00
camera.h UWP Support Overhaul (#819) 2019-04-27 20:33:51 +02:00
CMakeLists.txt CMake: don't use system GLFW headers if using built-in GLFW 2019-05-04 23:04:52 +02:00
CMakeOptions.txt Tweak ON flag 2019-05-07 15:23:56 +02:00
config.h NO SUPPORT_BUSY_WAIT_LOOP by default 2019-05-07 10:05:21 +02:00
config.h.in Add SUPPORT_HIGH_DPI to CMakeOptions.txt 2019-05-03 12:24:20 +08:00
core.c Remove trail spaces 2019-05-08 18:33:09 +02:00
easings.h Avoid warnings pre-evaluating values 2019-05-06 10:07:06 +02:00
gestures.h Happy new year 2019 2019-04-07 17:49:12 +02:00
Makefile Added resource file for raylib.dll 2019-05-07 15:16:14 +02:00
models.c Update CheckCollisionSpheres() to avoid sqrt 2019-05-08 13:54:12 -04:00
physac.h Physac.h fix for variable array size declaration. 2018-10-10 21:52:50 +02:00
raudio.c Correct RL_FREE bug 2019-04-23 15:07:28 +02:00
raudio.h Support custom memory management macros 2019-04-23 14:55:35 +02:00
raylib.dll.rc Added resource file for raylib.dll 2019-05-07 15:16:14 +02:00
raylib.h Added resource file for raylib.dll 2019-05-07 15:16:14 +02:00
raylib.ico Updated icon data 2018-09-26 16:02:42 +02:00
raylib.rc Added resource file for raylib.dll 2019-05-07 15:16:14 +02:00
raymath.h Merge pull request #799 from flashjaysan/master 2019-04-13 15:08:28 +02:00
rglfw.c Happy new year 2019 2019-04-07 17:49:12 +02:00
rlgl.h Remove trail spaces 2019-05-08 18:33:09 +02:00
rnet.c.review Renamed file to avoid breaking build 2019-04-22 22:47:50 +02:00
rnet.h More rnet review to avoid warnings/errors 2019-04-22 21:50:45 +02:00
shapes.c Remove trail spaces 2019-05-08 18:33:09 +02:00
text.c Corrected issue with wrong text measuring 2019-05-06 10:17:34 +02:00
textures.c Remove trail spaces 2019-05-08 18:33:09 +02:00
utils.c Some formatting review 2019-04-28 16:45:23 +02:00
utils.h Review UWP implementation 2019-04-27 22:47:03 +02:00