Commercial Territory (http://blog.csdn.net/omni360/)
This article follows "Attribution-non-commercial use-consistent" authoring public agreement
Reprint Please keep this sentence: Business Domain-this blog focuses on Agile development and mobile and IoT device research: Data visualization, Golang, HTML5, WEBGL, three. JS, Otherwise, from this blog article refused to reprint or reprint, thank you for your cooperation.
I was just beginning to learn, a lot of things are definitely wrong and please forgive me.
The following code is a comment for the extras/geometries/cubegeometry.js file in the three.js source file.
More updates in: Https://github.com/omni360/three.js.sourcecode
/** * @author mrdoob/http://mrdoob.com/*//*///cubegeometry is used to create a cube box object within a three-dimensional space. Replaced by the Boxgeometry object.//////usage: var Geometry = new three. Boxgeometry (1,1,1);///var material = new three. Meshbasicmaterial ({color:0x00ff00});///var cube = new three. Mesh (geometry,material);///Scene.add (cube); *////<summary>cubegeometry</summary>///<param name = " Width "type=" float "> Cube width </param>///<param name =" height "type=" float "> Cube height </param>///< param name = "depth" type= "float" > Cube depth </param>///<param name = "Widthsegments" type= "int" > Cube width Subdivision segment number </param>///<param name = "Heightsegments" type= "int" > Cube height subdivision segment number </param>///<param name = " Depthsegments "type=" int "> Cube depth Subdivision number of segments </param>three. Cubegeometry = function (width, height, depth, widthsegments, heightsegments, depthsegments) {console.warn (' thee '). Cubegeometry have been renamed to three. Boxgeometry. '); return new three. Boxgeometry (width, height, depth, widthsegments, HeightseGments, depthsegments); };
Commercial Territory (http://blog.csdn.net/omni360/)
This article follows "Attribution-non-commercial use-consistent" authoring public agreement
Reprint Please keep this sentence: Business Domain-this blog focuses on Agile development and mobile and IoT device research: Data visualization, Golang, HTML5, WEBGL, three. JS, Otherwise, from this blog article refused to reprint or reprint, thank you for your cooperation.
The following code is a comment for the extras/geometries/cubegeometry.js file in the three.js source file.
More updates in: Https://github.com/omni360/three.js.sourcecode
Three.js Source Note (70) extras/geometries/cubegeometry.js