Constructors
constructor
-
new SATPolygon(pos?,
points?): SATPolygon
-
Properties
angle
angle:
number
calcPoints
edges
normals
offset
points
pos
Methods
getAABB
-
getAABB(): SATPolygon
-
getCentroid
-
getCentroid(): SATVector
-
rotate
-
rotate(angle): SATPolygon
-
setAngle
-
setAngle(angle): SATPolygon
-
setOffset
-
setOffset(offset): SATPolygon
-
setPoints
-
setPoints(points): SATPolygon
-
translate
-
translate(x,
y): SATPolygon
-