Package org.ode4j.ode

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

Related Classes of org.ode4j.ode.DCapsule

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.