patch for vector4
This commit is contained in:
1 parent
defc7c0e8b
commit
0fc872a102
1 file changed
+1
-1
@@ -69,7 +69,7 @@ function Point.StartLoop()
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
local distance = #(coords.xyz - point.coords.xyz)
|
local distance = #(vector3(coords.x, coords.y, coords.z) - vector3(point.coords.x, point.coords.y, point.coords.z))
|
||||||
if distance < point.distance then
|
if distance < point.distance then
|
||||||
if not point.inside then
|
if not point.inside then
|
||||||
point.inside = true
|
point.inside = true
|
||||||
|
|||||||
Reference in new issue
Block a user