sample/assets/js/babylon.max.js
function (name, params) {
                var newInstance = Object.create(BABYLON.Tools.Instantiate("BABYLON." + name).prototype);
                newInstance.constructor.apply(newInstance, params);
                return newInstance;
            }
function (name, params) {
                var newInstance = Object.create(BABYLON.Tools.Instantiate("BABYLON." + name).prototype);
                newInstance.constructor.apply(newInstance, params);
                return newInstance;
            }
function ( name , params ) { var newInstance = Object . create ( BABYLON . Tools . Instantiate ( "BABYLON." + name ) . prototype ) ; newInstance . constructor . apply ( newInstance , params ) ; return newInstance ; }
instanciate a new object
instanciate a new object