Skip to content
Snippets Groups Projects
Select Git revision
20 results

lua_mathlib.c

Blame
  • Forked from STJr / SRB2
    Loading
    Monster Iestyn's avatar
    Monster Iestyn authored
    Fix up lib_finetangent so tan() returns values starting from "0" in Lua (finetangent itself hasn't been touched)
    
    Also fixed how the function went out of the array's bounds for ANGLE_180 and above (or negative angles)
    d4f2d249
    History
    lua_mathlib.c 4.76 KiB