Phaser API Documentation

  Version: 
<static> CircumCircle(triangle, [out])

Description:

Finds the circumscribed circle (circumcircle) of a Triangle object. The circumcircle is the circle which touches all of the triangle's vertices.

Parameters:

name type arguments description
triangle Phaser.Geom.Triangle

The Triangle to use as input.

out Phaser.Geom.Circle <optional>

An optional Circle to store the result in.

Returns:
Description:

The updated out Circle, or a new Circle if none was provided.

Since: 3.0.0