Related #11. Builds docs to the gh-pages branch on every push to master. Also updates all dead links to point to live ones (or ones that will be live after this is merged). Uses three third-party gh actions: * leafo/gh-actions-lua@v8 * leafo/gh-actions-luarocks@v4 * peaceiris/actions-gh-pages@v3 * This receives secrets.GITHUB_TOKEN Also switches to the new ldoc css and moves doc output folder to ./doc/out which is less confusing when configuring than ./doc/doc. Once merged, docs will be available on https://excessive.github.io/cpml/ Currently, you can see the built docs on https://idbrii.github.io/love-cpml/
Cirno's Perfect Math Library
Various useful bits of game math. 3D line intersections, ray casting, 2d/3d vectors, 4x4 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.
Versions
This library has a major compatibility break at version 1.0. Up to version 0.10, composition ab means "apply b, then a" for quaternions and "apply a, then b" for matrices. Now as of version 1.0, the two are consistent and matrix ab means "apply b, then a".
Description
Languages
Lua
100%