Three 学习日志(十一)—— 高光网格材质Phong
一、设置高光亮度属性
// 模拟镜面反射,产生一个高光效果
const material new THREE.MeshPhongMaterial({color: 0xff0000,shininess: 10, //高光部分的亮度,默认30
});// 模拟镜面…
vector remove 函数声明Example 运用 参考自c官方文档
函数声明
来自<algorithm>
Transforms the range [first, last) into a range with all the elements that compare equal to val removed, and returns an iterator to the new end of that range. 将[first, l…
1.mysql登录
mysql -uroot -p
2.显示所有数据库
Show databases;
3.生产过程中改密码
use mysql ; 查看user表中的user、host、password信息。 select user,host,password from user;
select host,user from user;使用“GRANT ALL PRIVILEGES ON *.* TO root% IDENTIFIE…
MongoDB数据类型操作:CURD
1、添加数据:
mongodb里存储数据的格式文档形式,以bson格式的文档形式。 创建数据库:
> use tp5shop
switched to db tp5shop
> db.getName()
tp5shop使用切换库,不存在自动创建&am…