import graphics3d.Graphics3DFramework; import Graphics3D; // Function called at the start of the program void onStart ( int rendererID ) { // Optional: set window size and background color setWindowSize( 800, 600 ); setBackgroundColor( 0, 0, 0, 255 ); // Create and mount a coordinate axis model int axis = newAxisModel( 3.0, 3.0, 3.0 ); mountModel( axis, rendererID ); // Create and mount a sphere model int sphere = newSphereModel( 2.0, 2.0, 2.0, 10, 8 ); mountModel( sphere, rendererID ); // Disable fill setting to render as wireframe setModelFill( sphere, false ); }