shape.set(new Vec2(-20.0f, -20.0f), new Vec2(20.0f, -20.0f));
ground.createFixture(sd);
}
{
Transform xf1 = new Transform();
xf1.q.set(0.3524f * MathUtils.PI);
Rot.mulToOutUnsafe(xf1.q, new Vec2(1.0f, 0.0f), xf1.p);
Vec2 vertices[] = new Vec2[3];
vertices[0] = Transform.mul(xf1, new Vec2(-1.0f, 0.0f));
vertices[1] = Transform.mul(xf1, new Vec2(1.0f, 0.0f));
vertices[2] = Transform.mul(xf1, new Vec2(0.0f, 0.5f));
PolygonShape poly1 = new PolygonShape();
poly1.set(vertices, 3);
FixtureDef sd1 = new FixtureDef();
sd1.shape = poly1;
sd1.density = 4.0f;
Transform xf2 = new Transform();
xf2.q.set(-0.3524f * MathUtils.PI);
Rot.mulToOut(xf2.q, new Vec2(-1.0f, 0.0f), xf2.p);
vertices[0] = Transform.mul(xf2, new Vec2(-1.0f, 0.0f));
vertices[1] = Transform.mul(xf2, new Vec2(1.0f, 0.0f));