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

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.