mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
39fc112e53
@ -190,6 +190,7 @@ end
|
|||||||
-- @param Core.Point#COORDINATE Coordinate The coordinate to test.
|
-- @param Core.Point#COORDINATE Coordinate The coordinate to test.
|
||||||
-- @return #boolean true if the coordinate is within the zone.
|
-- @return #boolean true if the coordinate is within the zone.
|
||||||
function ZONE_BASE:IsCoordinateInZone( Coordinate )
|
function ZONE_BASE:IsCoordinateInZone( Coordinate )
|
||||||
|
if not Coordinate then return false end
|
||||||
local InZone = self:IsVec2InZone( Coordinate:GetVec2() )
|
local InZone = self:IsVec2InZone( Coordinate:GetVec2() )
|
||||||
return InZone
|
return InZone
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user