temp.normalize( ); temp.sub( light ); temp.normalize( ); cos_alpha
* can render 3D geometry (described using a Java 3D GeometryArray) * into a 2D Graphics context. */ public interface RenderingEngine { /** * Add a GeometryArray to the RenderingEngine. All GeometryArrays * will be rendered. */ public void addGeometry( GeometryArray geometryArray ); /** * Render a single frame into the Graphics. */ public void render( Graphics graphics, GeometryUpdater updater ); /** * Get the current Screen position used by the RenderEngine. */ public Vector3d getScreenPosition(); /** * Get the current View Angle used by the RenderEngine. View * angles are expressed in degrees. */ public Vector3d getViewAngle(); /** * Set the current View Angle used by the RenderEngine. */ public void setViewAngle( Vector3d viewAngle ); 23
Note: If you are looking for good and high quality web space to host and run your application check Lunarwebhost JSP Web Hosting services