sm64coopdx/docs/lua
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
..
examples Add files via upload (#286) 2024-09-01 13:43:08 -04:00
guides typo fix 2024-10-07 22:13:19 +10:00
constants.md Fix early hits (#363) 2024-10-17 18:31:01 +10:00
functions-2.md Expose some behavior_script.h functions to Lua 2024-06-23 19:30:38 -04:00
functions-3.md Add rotation interpolation (#208) 2024-07-21 18:58:38 -04:00
functions-4.md 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
functions-5.md 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
functions.md 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
globals.md Add gControllers 2024-01-01 14:43:44 -05:00
lua.md updated the introductory lua doc to mention the --console launch parameter 2024-01-09 00:43:06 +00:00
structs.md Add rotation interpolation (#208) 2024-07-21 18:58:38 -04:00