Skip to content

RayStudio36/math.lua

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Math.lua

v0.1

A math utility module for lua

Installation

The math.lua directory should be dropped into an existing project and required by it.

math = require 'math'

Component

Vector2

Example

Vector2 = math.Vector2
local v = Vector2(1, 2)
local v2 = Vector2(3, 4)
local r = v + v2 --- assert(r.x == 4 and r.y == 6)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published