Sets all three points of the triangle. Leaving out any coordinate sets it to be 0
.
name | type | arguments | description |
---|---|---|---|
x1 | number | <optional> |
|
y1 | number | <optional> |
|
x2 | number | <optional> |
|
y2 | number | <optional> |
|
x3 | number | <optional> |
|
y3 | number | <optional> |
|
This Triangle object.