three.js 源码注释(七十)extras/geometries/CubeGeometry.js
来源:互联网 发布:写真机蒙泰软件 编辑:程序博客网 时间:2024/05/14 09:29
商域无疆 (http://blog.csdn.net/omni360/)
本文遵循“署名-非商业用途-保持一致”创作公用协议
转载请保留此句:商域无疆 - 本博客专注于 敏捷开发及移动和物联设备研究:数据可视化、GOLANG、Html5、WEBGL、THREE.JS,否则,出自本博客的文章拒绝转载或再转载,谢谢合作。
俺也是刚开始学,好多地儿肯定不对还请见谅.
以下代码是THREE.JS 源码文件中extras/geometries/CubeGeometry.js文件的注释.
更多更新在 : https://github.com/omni360/three.js.sourcecode
/** * @author mrdoob / http://mrdoob.com/ *//*///CubeGeometry用来在三维空间内创建一个立方体盒子对象.被BoxGeometry对象替换.//////用法: 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">立方体宽度</param>///<param name ="height" type="float">立方体高度</param>///<param name ="depth" type="float">立方体深度</param>///<param name ="widthSegments" type="int">立方体宽度细分线段数</param>///<param name ="heightSegments" type="int">立方体高度细分线段数</param>///<param name ="depthSegments" type="int">立方体深度细分线段数</param>THREE.CubeGeometry = function ( width, height, depth, widthSegments, heightSegments, depthSegments ) {console.warn( 'THEE.CubeGeometry has been renamed to THREE.BoxGeometry.' );return new THREE.BoxGeometry( width, height, depth, widthSegments, heightSegments, depthSegments ); };
商域无疆 (http://blog.csdn.net/omni360/)
本文遵循“署名-非商业用途-保持一致”创作公用协议
转载请保留此句:商域无疆 - 本博客专注于 敏捷开发及移动和物联设备研究:数据可视化、GOLANG、Html5、WEBGL、THREE.JS,否则,出自本博客的文章拒绝转载或再转载,谢谢合作。
以下代码是THREE.JS 源码文件中extras/geometries/CubeGeometry.js文件的注释.
更多更新在 : https://github.com/omni360/three.js.sourcecode
0 0
- three.js 源码注释(七十)extras/geometries/CubeGeometry.js
- three.js 源码注释(六十八)extras/geometries/BoxGeometry.js
- three.js 源码注释(六十九)extras/geometries/CircleGeometry.js
- three.js 源码注释(七十一)extras/geometries/CylinderGeometry.js
- three.js 源码注释(七十二)extras/geometries/PlaneGeometry.js
- three.js 源码注释(七十三)extras/geometries/TextGeometry.js
- three.js 源码注释(七十四)extras/geometries/ExtrudeGeometry.js
- three.js 源码注释(七十五)extras/geometries/ShapeGeometry.js
- three.js 源码注释(七十六)extras/geometries/SphereGeometry.js
- three.js 源码注释(七十七)extras/geometries/LatheGeometry.js
- three.js 源码注释(七十八)extras/geometries/IcosahedronGeometry.js
- three.js 源码注释(七十九)extras/geometries/TorusGeometry.js
- three.js 源码注释(八十)extras/geometries/OctahedronGeometry.js
- three.js 源码注释(八十一)extras/geometries/TetrahedronGeometry.js
- three.js 源码注释(八十二)extras/geometries/RingGeometry.js
- three.js 源码注释(八十三)extras/geometries/TorusKnotGeometry.js
- three.js 源码注释(八十四)extras/geometries/ParametricGeometry.js
- three.js 源码注释(八十五)extras/geometries/PolyhedronGeometry.js
- Android_控制闪光灯
- jquery简述
- 哈夫曼树与哈夫曼编码(C语言代码实现)
- cocos2dx学习笔记:自定义工程路径及cocoswidget配置
- Hduoj2137【水题】
- three.js 源码注释(七十)extras/geometries/CubeGeometry.js
- 机器学习基础(四)LMS,代价函数的求解和概率意义
- C++定义不知道大小的二维动态数组
- Oracle instr函数
- jquery常用技巧及常用方法列表
- iOS 8代码怪谈
- 1077.Kuchiguse
- 关于与运算和取余之间的关系
- Linux应用程序Semophore 操作