diff --git a/src/index.js b/src/index.js index b7e6979..1fdd6bd 100644 --- a/src/index.js +++ b/src/index.js @@ -1,15 +1,13 @@ /* global PIXI:true */ /** - * @author Mat Groves - * @copyright 2013-2014 GoodBoyDigital - * @license {@link https://github.com/GoodBoyDigital/pixi.js/blob/master/LICENSE|MIT License} - */ - -/** - * @namespace PIXI + * @file Main export of the PIXI library + * @namespace PIXI + * @author Mat Groves + * @copyright 2013-2015 GoodBoyDigital + * @license {@link https://github.com/GoodBoyDigital/pixi.js/blob/master/LICENSE|MIT License} */ var PIXI = { - math: require('./math'), + math: require('./math'), /** * Constant to identify the WEBGL Renderer Type @@ -141,14 +139,7 @@ * Logs out the version and renderer information for this running instance of PIXI. * If you don't want to see this message you can set PIXI.sayHello = false; * - * @property {object} defaultRenderOptions - * @property {HTMLCanvasElement} defaultRenderOptions.view=null - * @property {boolean} defaultRenderOptions.transparent=false - * @property {boolean} defaultRenderOptions.antialias=false - * @property {boolean} defaultRenderOptions.preserveDrawingBuffer=false - * @property {number} defaultRenderOptions.resolution=1 - * @property {boolean} defaultRenderOptions.clearBeforeRender=true - * @property {boolean} defaultRenderOptions.autoResize=false + * @param {string} type - The string renderer type to log. * @constant * @static */ diff --git a/src/index.js b/src/index.js index b7e6979..1fdd6bd 100644 --- a/src/index.js +++ b/src/index.js @@ -1,15 +1,13 @@ /* global PIXI:true */ /** - * @author Mat Groves - * @copyright 2013-2014 GoodBoyDigital - * @license {@link https://github.com/GoodBoyDigital/pixi.js/blob/master/LICENSE|MIT License} - */ - -/** - * @namespace PIXI + * @file Main export of the PIXI library + * @namespace PIXI + * @author Mat Groves + * @copyright 2013-2015 GoodBoyDigital + * @license {@link https://github.com/GoodBoyDigital/pixi.js/blob/master/LICENSE|MIT License} */ var PIXI = { - math: require('./math'), + math: require('./math'), /** * Constant to identify the WEBGL Renderer Type @@ -141,14 +139,7 @@ * Logs out the version and renderer information for this running instance of PIXI. * If you don't want to see this message you can set PIXI.sayHello = false; * - * @property {object} defaultRenderOptions - * @property {HTMLCanvasElement} defaultRenderOptions.view=null - * @property {boolean} defaultRenderOptions.transparent=false - * @property {boolean} defaultRenderOptions.antialias=false - * @property {boolean} defaultRenderOptions.preserveDrawingBuffer=false - * @property {number} defaultRenderOptions.resolution=1 - * @property {boolean} defaultRenderOptions.clearBeforeRender=true - * @property {boolean} defaultRenderOptions.autoResize=false + * @param {string} type - The string renderer type to log. * @constant * @static */ diff --git a/src/math/index.js b/src/math/index.js index 07b3bd4..071c583 100644 --- a/src/math/index.js +++ b/src/math/index.js @@ -21,5 +21,9 @@ * @constant * @static */ - DEG_TO_RAD: Math.PI / 180 + DEG_TO_RAD: Math.PI / 180, + + Point: require('./Point'), + Matrix: require('./Matrix'), + Rectangle: require('./Rectangle') };