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

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.