Examples of DCapsule


Examples of org.ode4j.ode.DCapsule

      double l = ((DCylinder) g).getLength();
      dsDrawCylinder(pos, R, (float) l, (float) r);
    } else if (g instanceof DSphere) {
      dsDrawSphere(pos, R, (float) ((DSphere) g).getRadius());
    } else if (g instanceof DCapsule) {
      DCapsule cap = (DCapsule) g;
      dsDrawCapsule(pos, R, (float) cap.getLength(),
          (float) cap.getRadius());
    } else {
      System.err
          .println("!!!!!!!!!!!!!!!!!!!!!!! GEOM NOT SUPPORTED. Add a method to public static void drawGeom !!!!!!!!!!!!!");
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.