MCPcopy Create free account
hub / github.com/phaserjs/phaser / makeTriangle

Function makeTriangle

tests/geom/intersects/TriangleToTriangle.test.js:6–9  ·  view source on GitHub ↗
(x1, y1, x2, y2, x3, y3)

Source from the content-addressed store, hash-verified

4describe('Phaser.Geom.Intersects.TriangleToTriangle', function ()
5{
6 function makeTriangle (x1, y1, x2, y2, x3, y3)
7 {
8 return new Triangle(x1, y1, x2, y2, x3, y3);
9 }
10
11 it('should return true when two identical triangles overlap', function ()
12 {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…