AWACS - 0.0.12

This commit is contained in:
Applevangelist
2022-05-04 13:29:14 +02:00
parent 04c77e9760
commit 21f93aa7e8
3 changed files with 864 additions and 778 deletions

View File

@@ -176,6 +176,7 @@ end
-- @param DCS#Vec3 Vec3 The point to test.
-- @return #boolean true if the Vec3 is within the zone.
function ZONE_BASE:IsVec3InZone( Vec3 )
if not Vec3 then return false end
local InZone = self:IsVec2InZone( { x = Vec3.x, y = Vec3.z } )
return InZone
end
@@ -2004,7 +2005,9 @@ end
-- @return #boolean true if the point is within the zone.
function ZONE_POLYGON_BASE:IsVec3InZone( Vec3 )
self:F2( Vec3 )
if not Vec3 then return false end
local InZone = self:IsVec2InZone( { x = Vec3.x, y = Vec3.z } )
return InZone