mirror of
https://github.com/vrld/HC.git
synced 2024-11-18 12:54:23 +00:00
Fixing local variable
This commit is contained in:
parent
eac8874ef9
commit
73a9456bb5
@ -421,7 +421,7 @@ end
|
|||||||
|
|
||||||
function Polygon:intersectionsWithRay(x,y, dx,dy)
|
function Polygon:intersectionsWithRay(x,y, dx,dy)
|
||||||
local nx,ny = vector.perpendicular(dx,dy)
|
local nx,ny = vector.perpendicular(dx,dy)
|
||||||
local wx,xy,det
|
local wx,wy,det
|
||||||
|
|
||||||
local ts = {} -- ray parameters of each intersection
|
local ts = {} -- ray parameters of each intersection
|
||||||
local q1,q2 = nil, self.vertices[#self.vertices]
|
local q1,q2 = nil, self.vertices[#self.vertices]
|
||||||
|
Loading…
Reference in New Issue
Block a user