Advanced Math Library
Mathematical APIs for CC: Tweaked!
Overview
This project provides a few generic advanced mathematics libraries for CC: Tweaked.
Here is the actual repository of this project.
Installation
If you want to add all libraries to your server or world, grab the datapack from the following sites:
If you want specific library files, simply copy them into your in-game computer and, to use them, follow this:
Quaternions
os.loadAPI("path/to/quaternion.lua")
Matrices
os.loadAPI("path/to/matrix.lua")
PID Controllers
local pid = require "path/to/pid"
License
This project is licensed under the MIT License.