Wrote insidePoly, cross, getTankDrop, rotateBox, rotatePoint