码迷,mamicode.com
首页 >  
搜索关键字:b - bear and three m    ( 2708个结果
three.js 源码注释(七十五)extras/geometries/ShapeGeometry.js
ShapeGeometry用来通过截面(参数shape)和参数选项(options)生成形状几何体. ShapeGeometry 形状几何体截面 拉伸几何体参数选项 * Creates a one-sided polygonal geometry from a path shape....
分类:Web程序   时间:2015-01-31 13:06:09    阅读次数:319
three.js 源码注释(七十六)extras/geometries/SphereGeometry.js
SphereGeometry用来在三维空间内创建一个球体对象. 用法: var geometry = new THREE.SphereGeometry(5,32,32); var material = new THREE.MeshBasicMaterial({color: 0x00ff00}); var sphere = new THREE.Mesh(geometry,material); scene.add(sphere); SphereGeometry<...
分类:Web程序   时间:2015-01-31 13:00:40    阅读次数:4021
three.js 源码注释(七十七)extras/geometries/LatheGeometry.js
LatheGeometry类通过截面顶点数组(points)创建旋转几何体. 用法: var points = []; for ( var i = 0; i < 10; i ++ ) { points.push( new THREE.Vector3( Math.sin( i * 0.2 ) * 15 + 50, 0, ( i - 5 ) * 2 ) ); } var geometry = new THREE.LatheGeometry( points ); var mater...
分类:Web程序   时间:2015-01-31 12:56:13    阅读次数:166
three.js 源码注释(七十八)extras/geometries/IcosahedronGeometry.js
IcosahedronGeometry用来在三维空间内创建一个二十面体对象. 用法: var geometry = new THREE.IcosahedronGeometry(70); var material = new THREE.MeshBasicMaterial({color: 0x00ff00}); var icos = new THREE.Mesh(geometry,material); scene.add(icos); IcosahedronG...
分类:Web程序   时间:2015-01-31 12:51:22    阅读次数:171
three.js 源码注释(七十四)extras/geometries/ExtrudeGeometry.js
ExtrudeGeometry用来通过截面(参数shape)生成拉伸几何体. ExtrudeGeometry 拉伸几何体截面 拉伸几何体参数选项 * parameters = { * * curveSegments: , // number of points on ...
分类:Web程序   时间:2015-01-30 22:46:35    阅读次数:675
LeetCode --- 16. 3Sum Closest
题目链接:3Sum Closest Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. You may assume that each input...
分类:其他好文   时间:2015-01-30 22:42:30    阅读次数:252
three.js 源码注释(七十三)extras/geometries/TextGeometry.js
TextGeometry用来生成文字,不过要生成中文3d文字,需要将中文字体利用typeface.js将字体转换成js格式的形文件. TextGeometry 文字内容 文字参数选项 For creating 3D text geometry in three.js Text =...
分类:Web程序   时间:2015-01-30 09:04:51    阅读次数:831
.NET:Threading and Exceptions
Do handle exceptions in threads.Unhandled exceptions in threads, even background threads, generally terminate the process.There are three exceptions t...
分类:Web程序   时间:2015-01-30 08:59:50    阅读次数:142
The Best Rank (25)(排名算法)
To evaluate the performance of our first year CS majored students, we consider their grades of three courses only: C - C Programming Language, M - Mat...
分类:编程语言   时间:2015-01-30 07:54:12    阅读次数:296
欧拉计划(python) problem 17
Number letter counts Problem 17 If the numbers 1 to 5 are written out in words: one, two, three, four, five, then there are 3 + 3 + 5 + 4 + 4 = 19 letters used in total. If all the numbers ...
分类:编程语言   时间:2015-01-29 14:44:35    阅读次数:207
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!