import graphics3d.Graphics3DFramework; import Graphics3D; // This function is called at the start of the program void onStart ( int rendererID ) { // Set window size and background color (optional) setWindowSize( 800, 600 ); setBackgroundColor( 0, 0, 0, 255 ); // Generate and mount axis model int axis = newAxisModel( 3.0, 3.0, 3.0 ); mountModel( axis, rendererID ); // Generate and mount sphere model int sphere = newSphereModel( 1.0, 1.0, 1.0, 10, 7 ); mountModel( sphere, rendererID ); // Move along the Z-axis moveModel( sphere, 0.0, 0.0, 2.0 ); }