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 سال پیش | |
---|---|---|
doc | 9 سال پیش | |
modules | 8 سال پیش | |
spec | 8 سال پیش | |
.atom-build.json | 9 سال پیش | |
.coveralls.yml | 8 سال پیش | |
.editorconfig | 9 سال پیش | |
.gitignore | 9 سال پیش | |
.travis.yml | 8 سال پیش | |
LICENSE.md | 8 سال پیش | |
README.md | 8 سال پیش | |
cpml-scm-1.rockspec | 8 سال پیش | |
init.lua | 8 سال پیش |
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.