sm64coopdx/src/engine
John S 3dd9226bc9
Update math_util.c and math_util.h to support autodoc with trig functions (inline instead of macros) and add new functions to smlua_math_utils (#359)
* Update math_util.c and math_util.h to move toward inlining functions instead of macros for autodoc. Expose some misc functions useful to lua

* Fix formatting

* Fix math_util.c formatting

* Fix formatting for smlua_math_utils.c

* Fix formatting smlua_functions.c

* Fix type redundancy in _Generic macros

* Add checks for including the highly optimized builtin compiler functions for GCC/Clang

* Add compiler checking for absx() to add in the highly optimized GCC/Clang builtins

* Fix repeated use of float built-ins for non floating point numbers

* Fix grammar mistake

* Fix functions to use camelCase as requested.

* Fixed the use of a custom sqrt approximation as modern procs have a built in FSQRT instruction that is faster.

---------

Co-authored-by: js <js@cartbara.columbus.rr.com>
2024-10-18 12:20:36 +10:00
..
behavior_script.c Expose some behavior_script.h functions to Lua 2024-06-23 19:30:38 -04:00
behavior_script.h Expose some behavior_script.h functions to Lua 2024-06-23 19:30:38 -04:00
extended_bounds.h Adjust extended bounds values 2022-04-16 21:34:49 -07:00
geo_layout.c Force broken romhack port missing skyboxes to BACKGROUND_HAUNTED 2023-10-26 16:09:36 -07:00
geo_layout.h Rename AllocOnlyPool to DynamicPool, add GrowingPool 2023-05-12 18:53:25 -07:00
graph_node.c Massively improve "Global Player Models" option 2024-03-17 20:58:38 -04:00
graph_node.h Force broken romhack port missing skyboxes to BACKGROUND_HAUNTED 2023-10-26 16:09:36 -07:00
graph_node_manager.c Massively improve "Global Player Models" option 2024-03-17 20:58:38 -04:00
level_script.c Add support for 16 areas (#502) 2023-11-08 19:48:09 -05:00
level_script.h Make envfx use dynamic memory 2023-05-12 21:30:16 -07:00
math_util.c Update math_util.c and math_util.h to support autodoc with trig functions (inline instead of macros) and add new functions to smlua_math_utils (#359) 2024-10-18 12:20:36 +10:00
math_util.h Update math_util.c and math_util.h to support autodoc with trig functions (inline instead of macros) and add new functions to smlua_math_utils (#359) 2024-10-18 12:20:36 +10:00
surface_collision.c Add collision_find_surface_on_ray_precision 2024-06-16 10:45:55 -04:00
surface_collision.h Add collision_find_surface_on_ray_precision 2024-06-16 10:45:55 -04:00
surface_load.c add a way for mods to get dynamic surfaces that belong to specific objects (#59) 2024-06-06 17:24:28 +10:00
surface_load.h add a way for mods to get dynamic surfaces that belong to specific objects (#59) 2024-06-06 17:24:28 +10:00