mirror of https://gitea.it/1414codeforge/gear
This is a read-only mirror of https://gitea.it/1414codeforge/gear.
Please direct any pull-request, issue or discussion to the main repo.
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lorenzo Cogotti 9a1b9fedcd | 2 years ago | |
---|---|---|
spec | 2 years ago | |
.gitignore | 2 years ago | |
LICENSE | 2 years ago | |
README.md | 2 years ago | |
algo.lua | 2 years ago | |
init.lua | 2 years ago | |
meta.lua | 2 years ago | |
rect.lua | 2 years ago | |
shadowtext.lua | 2 years ago | |
strings.lua | 2 years ago | |
vec.lua | 2 years ago |
README.md
df-utils - LÖVE Utility Library
df-utils provides stateless functions for common LÖVE game development, including:
- 2D vector algebra
- Minimal 3D vector algebra
- 2D bounds (axis-aligned rectangles)
- General utility math functions
- Common algorithms
Code is reasonably biased towards speed, at the occasional expense of abstraction.
Documentation
Code is documented with LDoc.
Documentation may be generated running the command:
ldoc init.lua
ldoc
generates a doc
directory, open doc/index.html
with your favorite browser to read the documentation.
Test suite
The test suite uses busted.
Tests may be run with the command:
lua spec/utils_spec.lua
License
See LICENSE for details.