Merge pull request #74 from idbrii/atan

vec2: Fallback to math.atan
This commit is contained in:
shakesoda 2022-03-27 14:37:52 -07:00 committed by GitHub
commit 36dfd97429
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@ local modules = (...):gsub('%.[^%.]+$', '') .. "."
local vec3 = require(modules .. "vec3")
local private = require(modules .. "_private_utils")
local acos = math.acos
local atan2 = math.atan2
local atan2 = math.atan2 or math.atan
local sqrt = math.sqrt
local cos = math.cos
local sin = math.sin