Fallout fixes

This commit is contained in:
Applevangelist
2022-05-06 11:44:59 +02:00
parent 8ac2241372
commit 10efb98eb3
6 changed files with 9 additions and 10 deletions

View File

@@ -892,9 +892,8 @@ do -- COORDINATE
-- @param #COORDINATE TargetCoordinate The target COORDINATE. Can also be a DCS#Vec3.
-- @return DCS#Distance Distance The distance in meters.
function COORDINATE:Get2DDistance(TargetCoordinate)
if not TargetCoordinate then return 1000000 end
local a={x=TargetCoordinate.x-self.x, y=0, z=TargetCoordinate.z-self.z}
local norm=UTILS.VecNorm(a)
return norm
end

View File

@@ -349,7 +349,6 @@ do -- SET_BASE
return complement
end
--- Compare two sets.
-- @param #SET_BASE self
-- @param Core.Set#SET_BASE SetA First set.
@@ -366,9 +365,6 @@ do -- SET_BASE
return SetA
end
--- Gets a @{Core.Base#BASE} object from the @{Core.Set#SET_BASE} and derived classes, based on the Object Name.
-- @param #SET_BASE self
-- @param #string ObjectName