mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Removed GetVec2
This commit is contained in:
parent
c7aa799378
commit
53c0599075
@ -865,7 +865,6 @@ function SET_GROUP:FindNearestGroupFromPointVec2( PointVec2 )
|
||||
for ObjectID, ObjectData in pairs( self.Set ) do
|
||||
if NearestGroup == nil then
|
||||
NearestGroup = ObjectData
|
||||
NearestGroup:GetVec2()
|
||||
ClosestDistance = PointVec2:DistanceFromPointVec2( ObjectData:GetCoordinate() )
|
||||
else
|
||||
local Distance = PointVec2:DistanceFromPointVec2( ObjectData:GetCoordinate() )
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user