Code viewer for World: New World
const OBJPATH = "/uploads/starter/";	// path of OBJ and MTL 
const OBJNAME = "castle.obj";
const MTLNAME = "castle.new.mtl";

// the object is a cube (each dimension equal): 
  
var shape       = new THREE.BoxGeometry ( objectsize, objectsize, objectsize );
var material    = new THREE.MeshBasicMaterial ( { color: boxcolor.toLowerCase() } );
// var theobject   = new THREE.Mesh ( shape, material );


// Define what the World does at the start of a run: 

AB.world.newRun = function() 
{
    // start a 3D scene: 
    ABWorld.init3d (scene); 

    // add the object to the scene:
    // ABWorld.scene.add ( theobject );
};