/**
* Sandy
* a simple 3D engine based on webGL
*/
// webGLutils
WebGLUtils = function() {
/**
* Creates the HTLM for a failure message
* @param {string} canvasContainerId id of container of th
* canvas.
* @return {string} The html.
*/
var makeFailHTML = function(msg) {
return '' +
'
';
};
/**
* Mesasge for getting a webgl browser
* @type {string}
*/
var GET_A_WEBGL_BROWSER = '' +
'This page requires a browser that supports WebGL.
' +
'Click here to upgrade your browser.';
/**
* Mesasge for need better hardware
* @type {string}
*/
var OTHER_PROBLEM = '' +
"It doesn't appear your computer can support WebGL.
" +
'Click here for more information.';
/**
* Creates a webgl context. If creation fails it will
* change the contents of the container of the