[rect] Make rotatesincos() require() path safer.
This commit is contained in:
parent
0ce17379a1
commit
32cecbef1c
2
rect.lua
2
rect.lua
|
@ -6,7 +6,7 @@
|
||||||
-- @copyright 2022 The DoubleFourteen Code Forge
|
-- @copyright 2022 The DoubleFourteen Code Forge
|
||||||
-- @author Lorenzo Cogotti
|
-- @author Lorenzo Cogotti
|
||||||
|
|
||||||
local rotatesincos = require((...):gsub('rect', '')..'vec').rotatesincos
|
local rotatesincos = require((...):gsub('rect$', '')..'vec').rotatesincos
|
||||||
|
|
||||||
local min, max = math.min, math.max
|
local min, max = math.min, math.max
|
||||||
local abs = math.abs
|
local abs = math.abs
|
||||||
|
|
Loading…
Reference in New Issue