Cirno's Perfect Math Library: Just about everything you need for 2D/3D games. Hopefully. - Keywords: library math love2d https://github.com/excessive/cpml
|
8 anni fa | |
---|---|---|
doc | 9 anni fa | |
modules | 8 anni fa | |
spec | 8 anni fa | |
.atom-build.json | 9 anni fa | |
.coveralls.yml | 8 anni fa | |
.editorconfig | 9 anni fa | |
.gitignore | 9 anni fa | |
.travis.yml | 9 anni fa | |
LICENSE.md | 8 anni fa | |
README.md | 8 anni fa | |
cpml-scm-1.rockspec | 8 anni fa | |
init.lua | 8 anni fa |
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.