7273747576777879808182
} if (type == Type.END || type == Type.BOTH) { Vec2D dir = b.sub(a).rotate(MathUtils.PI - theta) .normalizeTo(length); gfx.line(b, b.add(dir)); dir.rotate(theta * 2); gfx.line(b, b.add(dir)); } } }