// Import the framework import graphics3d.Graphics3DFramework; import Graphics3D; // Variable to store the axis model ID int axis; // 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 place the axis model axis = newAxisModel( 3.0, 3.0, 3.0, ); mountModel( axis, rendererID ); } // Called multiple times per second (around 30 FPS) void onUpdate( int rendererID ) { // Slightly rotate the axis model around the Z-axis rotModelZ( axis, 0.03 ); }