Skip to content

Commit

Permalink
Merge pull request #2362 from tong/fix-doc-generation
Browse files Browse the repository at this point in the history
Fix dox when using special characters
  • Loading branch information
luboslenco authored Oct 15, 2021
2 parents ea9b01e + 622b8a2 commit 9c931af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/armory/trait/physics/bullet/PhysicsWorld.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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<RigidBody> or null.
@return `Array<RigidBody>`
**/
public function getContacts(body: RigidBody): Array<RigidBody> {
if (contacts.length == 0) return null;
Expand Down
2 changes: 1 addition & 1 deletion Sources/armory/ui/Canvas.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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<Float> [xOffset, yOffset]
@return `Array<Float> [xOffset, yOffset]`
**/
public static function getAnchorOffset(canvas: TCanvas, element: TElement): Array<Float> {
var boxWidth, boxHeight: Float;
Expand Down

0 comments on commit 9c931af

Please sign in to comment.