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 78989682cf Add LDoc documentation. Utils done. 9 years ago
modules 736ef2fcf8 fix doc comment for mat4.look_at 8 years ago
spec 08b23e394b Updated tests, fixed couple bugs 8 years ago
.atom-build.json 78989682cf Add LDoc documentation. Utils done. 9 years ago
.coveralls.yml 8386474db0 Added coveralls intigration 8 years ago
.editorconfig 34554aea5a Add atom build and editorconfig files. 9 years ago
.gitignore 78989682cf Add LDoc documentation. Utils done. 9 years ago
.travis.yml b8cc7e1d22 Disable luacheck in travis script. 8 years ago
LICENSE.md 2aa0e7fcb6 Cleaned up internal code to be less verbose 8 years ago
README.md e5437e1899 Update README.md 8 years ago
cpml-scm-1.rockspec 6b5e4ce004 Add rockspec courtesy of @Alloyed. Fixes #18 8 years ago
init.lua 6b75545968 bump version 8 years ago

README.md

Cirno's Perfect Math Library

Build Status Coverage Status

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 .

Installation

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.