Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sanjosolutions/luamathematics
Lua mathematics functions
https://github.com/sanjosolutions/luamathematics
wow wow-addon wow-addon-lib
Last synced: 5 days ago
JSON representation
Lua mathematics functions
- Host: GitHub
- URL: https://github.com/sanjosolutions/luamathematics
- Owner: SanjoSolutions
- License: unlicense
- Created: 2020-12-27T22:55:35.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-12-01T17:16:20.000Z (about 1 year ago)
- Last Synced: 2024-05-01T19:25:54.734Z (8 months ago)
- Topics: wow, wow-addon, wow-addon-lib
- Language: Lua
- Homepage: https://www.patreon.com/addons_by_sanjo
- Size: 35.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lua Mathematics
This work is devoted to God.
A library with mathematical functions. This library can help other add-on creators to save some work.
**Functions included:**
* **Mathematics.add**: a function for adding two numbers.
* **Mathematics.sum**: a function for adding a list of numbers.
* **Mathematics.multiply**: a function for multiplying two numbers.
* **Mathematics.product**: a function for multiplying a list of numbers.
* **Mathematics.round**: a function for rounding a number.
* **Mathematics.sign**: a function for determining the sign of a number.
* **Mathematics.euclideanDistance**: a function for calculating the euclidean distance of two positions in the 3-dimensional space.
* **Mathematics.euclideanDistance2D**: a function for calculating the euclidean distance of two positions in the 2-dimensional space.
* **Mathematics.manhattanDistance**: a function for calculating the manhattan distance of two positions in the 3-dimensional space.
* **Mathematics.manhattanDistance2D**: a function for calculating the manhattan distance of two positions in the 2-dimensional space.
* **Mathematics.average**: a function for calculating the average of a list of numbers.You can support me on [Patreon](https://www.patreon.com/addons_by_sanjo).