Web Hosting Tomcat, Java, JSP, Servlets, J2EE, PHP, MySQL

Cheap web hosting provider

14
Nov

} //– make sure gravity does it s share

} //– make sure gravity does it s share dp.y-=BouncingBoxWorld.gravity*dt; //– set the new velocity setdPosition(dp); } //– inititates the class public static void initiateClass (Applet app) { //– //– get the static “constants” that all bouncing boxes have //– try{ //– load the default polyhedron for all bouncing boxes //– this MUST be done in all non-abstract classes String polyfile= app.getParameter(”BouncingBox_ourDefaultPolyhedron”); InputStream is=url.openStream(); ourDefaultPolyhedron=new fConvexPolyhedron(is); } catch(Exception e) { e.printStackTrace(); } //– the scaling of the polyhedron double xscale=new Double(app.getParameter(”BouncingBox_scalex”)).doubleValue(); double yscale=new Double(app.getParameter(”BouncingBox_scaley”)).doubleValue(); double zscale=new Double(app.getParameter(”BouncingBox_scalez”)).doubleValue(); ourScale=new fPoint3d(xscale,yscale,zscale); //– the bounciness of this box ourBounciness=new Double(app.getParameter(”BouncingBox_bounciness”)).doubleValue(); } //– class constants protected static fPolyhedron ourDefaultPolyhedron; protected static double ourBounciness; protected static fPoint3d ourScale; }

Note: If you are looking for good and affordable webspace to host and run your servlet application check Virtualwebstudio servlet hosting services

Comments are closed.

Home | About Us | Compare Plans | Standard Hosting | Business Hosting | Java Tomcat Hosting | Support | FAQ | Order Now!

Powered by Omnicus java hosting services. All rights reserved.
Entries (RSS) and Comments (RSS).