I’m starting to wrap my head around Garry’s Mod’s Lua. While I’m not finding this too hard, I’m unfortunately a terrible mathematician. I’ve been searching Google, thinking, and experimenting for hours, but I just can’t find out how to properly do it. As such, I’m not necessarily asking for a working snippet, but any useful pointers would be appreciated as well.
Thanks in advance.