summaryrefslogtreecommitdiffhomepage
path: root/src/platforms/rcore_web.c
diff options
context:
space:
mode:
authorsmalltimewizard <[email protected]>2024-06-30 05:09:21 -0400
committerGitHub <[email protected]>2024-06-30 11:09:21 +0200
commit953df38ac47e7e05a8f7b5eef12990aa07522af8 (patch)
tree7ccb1fbc8b53e4b268fe762c3ffe68ffe5df1392 /src/platforms/rcore_web.c
parentd8214c916e6b80188cb8f9b18e11f50767b165b8 (diff)
downloadraylib-953df38ac47e7e05a8f7b5eef12990aa07522af8.tar.gz
raylib-953df38ac47e7e05a8f7b5eef12990aa07522af8.zip
[rmodels] `DrawSphereEx()` optimization (#4106)
* Optimize DrawSphereEx() Precalculates sin/cos to eliminate unnecessary calls. * Formatting correction to previous commit * Bugfix to optimized DrawSphereEx() OBO error -- added 1 additional precalculated cos/sin value to each array to complete the 360-degree wraparound. Technically the value of these last elements will always be the same as the first element due to 360-degree wraparound, but this is the simplest solution. * Corrected missing free() * Formatting correction * New DrawSphereEx() algorithm
Diffstat (limited to 'src/platforms/rcore_web.c')
0 files changed, 0 insertions, 0 deletions