Creates a TriangleGameObject that takes in an downright isosceles triangle shape properties.
The width of the isosceles triangle
The height of the isosceles triangle
const triangle = create_triangle(100, 100); Copy
const triangle = create_triangle(100, 100);
Creates a TriangleGameObject that takes in an downright isosceles triangle shape properties.