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 éve | |
---|---|---|
doc | 9 éve | |
modules | 8 éve | |
spec | 8 éve | |
.atom-build.json | 9 éve | |
.coveralls.yml | 8 éve | |
.editorconfig | 9 éve | |
.gitignore | 9 éve | |
.travis.yml | 8 éve | |
LICENSE.md | 8 éve | |
README.md | 8 éve | |
cpml-scm-1.rockspec | 8 éve | |
init.lua | 8 éve |
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.