码迷,mamicode.com
首页 >  
搜索关键字:b - bear and three m    ( 2708个结果
PAT——甲级1012:The Best Rank
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 ...
分类:其他好文   时间:2018-12-19 21:05:19    阅读次数:177
基于three.js的免费开源三维编辑器ShadowEditor简介
基于three.js的在线3D场景编辑器,可直接在浏览器访问,使用mongodb保存3D模型和场景数据。 主要功能: 源码1:https://github.com/tengge1/ShadowEditor 源码2:https://gitee.com/tengge1/ShadowEditor 演示:h ...
分类:Web程序   时间:2018-12-18 02:18:20    阅读次数:977
18.12.17 POJ 1269 Intersecting Lines
描述 We all know that a pair of distinct points on a plane defines a line and that a pair of lines on a plane will intersect in one of three ways: 1) no ...
分类:其他好文   时间:2018-12-18 02:14:26    阅读次数:127
随机生成字符串方法
1 package beifeng.hadoop; 2 3 import java.util.Random; 4 import org.apache.commons.lang.RandomStringUtils; 5 6 /** 7 * Three Methods to generate rando... ...
分类:其他好文   时间:2018-12-17 23:53:38    阅读次数:207
pythn3-enumerate()
enumerate()函数用于将一个可遍历的数据对象(如列表、元组或字符串)组合为一个索引序列,同时列出数据和数据下标,一般用在for循环当中。>>>seq=[‘one‘,‘two‘,‘three‘]>>>fori,elementinenumerate(seq):...print(i,seq[i])...0one1two2three>>>
分类:编程语言   时间:2018-12-17 11:44:18    阅读次数:152
three.js入门系列之材质
一、基础网孔材料 MeshBasicMaterial 图示(光源是(0,1,0)处的点光源): 二、深度网孔材料 MeshDepthMaterial (由于只是改了材料名,代码将不重复贴出) 在这里,有必要提一下远景相机的属性了: 大概就是这么个意思,下面,我们把上述两个参数改为3,4看一下效果: ...
分类:Web程序   时间:2018-12-17 02:25:44    阅读次数:246
ThreeJS实现波纹粒子效果
今天我们来用ThreeJS的库实现一个波纹粒子效果,我们用到的ThreeJS的库有CanvasRenderer.js,OrbitControls.js,Projector.js,stats.min.js和three.js。这些库都是不可或缺的,我们先来看看实现的效果,如下图所示。 我们再来看看项目结 ...
分类:Web程序   时间:2018-12-16 11:09:44    阅读次数:694
[LeetCode&Python] Problem 628. Maximum Product of Three Numbers
Given an integer array, find three numbers whose product is maximum and output the maximum product. Example 1: Input: [1,2,3] Output: 6 Example 2: Inp ...
分类:编程语言   时间:2018-12-11 14:32:00    阅读次数:207
three.js入门系列之光和阴影
初中物理教过我们镜面反射和漫反射,这是由于物体的材质直接导致的。 在three.js中,由于物体的材料不同,对于光源的反应也是不一样的,下面就让我们一探究竟。 一、材料 据Three.js中描述,有两种材料能对光源有所反应: 就是图中箭头标识的两种材料。 二、检验 编辑前例,设置光源位置: 如图所示 ...
分类:Web程序   时间:2018-12-09 10:45:54    阅读次数:179
shell 中数组学习
因为应用shell的时间不是太长。对于数组在实际项目中没有接触过。今天在需要把相似于:a=1,2,3,4这种东西转换。之前用的方法是用awk,分别取出。所以今天想是否有更好更简洁的方法 就想到数组了。 先解决样例中的问题,比如 my_num="one,two,three,four" 将其切割开: O ...
分类:编程语言   时间:2018-12-08 22:34:15    阅读次数:172
2708条   上一页 1 ... 52 53 54 55 56 ... 271 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!