Cirno's Perfect Math Library: Just about everything you need for 2D/3D games. Hopefully. - Keywords: library math love2d https://github.com/excessive/cpml
Colby Klein 736ef2fcf8 fix doc comment for mat4.look_at | 8 years ago | |
---|---|---|
doc | 9 years ago | |
modules | 8 years ago | |
spec | 8 years ago | |
.atom-build.json | 9 years ago | |
.coveralls.yml | 8 years ago | |
.editorconfig | 9 years ago | |
.gitignore | 9 years ago | |
.travis.yml | 8 years ago | |
LICENSE.md | 8 years ago | |
README.md | 8 years ago | |
cpml-scm-1.rockspec | 8 years ago | |
init.lua | 8 years ago |
Various useful bits of game math. 3D line intersections, ray casting, vectors, matrices, quaternions, etc.
Intended to be used with LuaJIT and LÖVE (this is the backbone of LÖVE3D).
Online documentation can be found here or you can generate them yourself using ldoc -c doc/config.ld -o index .
Clone the repository and require it, or if you prefer luarocks: $ luarocks install --server=http://luarocks.org/dev cpml
. Add --tree=whatever
for a local install.