From 622b8a275f539413a2d53eacd98568704f376d69 Mon Sep 17 00:00:00 2001 From: tong Date: Thu, 14 Oct 2021 17:35:23 +0200 Subject: [PATCH] Fix dox when using special characters --- Sources/armory/trait/physics/bullet/PhysicsWorld.hx | 2 +- Sources/armory/ui/Canvas.hx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/armory/trait/physics/bullet/PhysicsWorld.hx b/Sources/armory/trait/physics/bullet/PhysicsWorld.hx index f8709ab4..2fd36702 100644 --- a/Sources/armory/trait/physics/bullet/PhysicsWorld.hx +++ b/Sources/armory/trait/physics/bullet/PhysicsWorld.hx @@ -207,7 +207,7 @@ class PhysicsWorld extends Trait { /** Used to get intersecting rigid bodies with the passed in RigidBody as reference. Often used when checking for object collisions. @param body The passed in RigidBody to be checked for intersecting rigid bodies. - @return Array or null. + @return `Array` **/ public function getContacts(body: RigidBody): Array { if (contacts.length == 0) return null; diff --git a/Sources/armory/ui/Canvas.hx b/Sources/armory/ui/Canvas.hx index a676e5f9..5a7cbaaf 100644 --- a/Sources/armory/ui/Canvas.hx +++ b/Sources/armory/ui/Canvas.hx @@ -277,7 +277,7 @@ class Canvas { Returns the positional scaled offset of the given element based on its anchor setting. @param canvas The canvas object @param element The element - @return Array [xOffset, yOffset] + @return `Array [xOffset, yOffset]` **/ public static function getAnchorOffset(canvas: TCanvas, element: TElement): Array { var boxWidth, boxHeight: Float;