Package org.jbox2d.collision.shapes

Examples of org.jbox2d.collision.shapes.EdgeShape


            app.vertex(vert.x , vert.y );
          }
          app.endShape();
          break;
        case EDGE_SHAPE:
          EdgeShape edge = (EdgeShape)shape;
          Vec2 v1 = body.getWorldLocation(edge.getVertex1());
          Vec2 v2 = body.getWorldLocation(edge.getVertex2());
         
          app.beginShape();
          app.vertex(v1.x , v1.y );
          app.vertex(v2.x , v2.y );
          app.endShape();
View Full Code Here

TOP

Related Classes of org.jbox2d.collision.shapes.EdgeShape

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.