bug fixing

This commit is contained in:
Applevangelist
2021-09-16 15:09:51 +02:00
parent da625d51f6
commit dc14b60fcc
2 changed files with 5 additions and 5 deletions

View File

@@ -183,12 +183,12 @@ function ZONE_BASE:IsCoordinateInZone( Coordinate )
return InZone
end
--- Returns if a PointVec2 is within the zone.
--- Returns if a PointVec2 is within the zone. (Name is misleading, actually takes a #COORDINATE)
-- @param #ZONE_BASE self
-- @param Core.Point#POINT_VEC2 PointVec2 The PointVec2 to test.
-- @param Core.Point#COORDINATE PointVec2 The coordinate to test.
-- @return #boolean true if the PointVec2 is within the zone.
function ZONE_BASE:IsPointVec2InZone( PointVec2 )
local InZone = self:IsVec2InZone( PointVec2:GetVec2() )
function ZONE_BASE:IsPointVec2InZone( Coordinate )
local InZone = self:IsVec2InZone( Coordinate:GetVec2() )
return InZone
end