Introduction While working on a project for school, I found it necessary to perform a collision check between sprites that had been translated and rot ...
分类:
其他好文 时间:
2017-10-10 21:57:46
阅读次数:
216
A hash function that maps names to integers from 0 to 15. There is a collision between keys "John Smith" and "Sandra Dee".、、 A minimal perfect hash fu ...
分类:
其他好文 时间:
2017-10-09 12:05:05
阅读次数:
211
源端: conn sh/sh create table "学生" ("学号" number primary key,"姓名" varchar2(30)) * ORA-00957: duplicate column name 重复列名 create table "学生" ("学号" number pr ...
分类:
其他好文 时间:
2017-09-16 00:29:20
阅读次数:
214
声明下都是怎么称呼docker的: RHEL/CentOS 软件源中的 Docker 包名为 docker; Ubuntu 软件源中的 Docker 包名为 docker.io; 而很古老的 Docker 源中 Docker 也曾叫做 lxc-docker。这些都是非常老旧的 Docker 版本,并 ...
分类:
其他好文 时间:
2017-09-15 10:06:59
阅读次数:
195
1.粒子碰撞导入碰撞体方法: a: 然后在dop内 scale srource volume -1 or 0 ,我认为是裁掉。 Initialize 要选 collision. b: dop内: division size要调一下, ...
分类:
其他好文 时间:
2017-08-26 19:52:52
阅读次数:
189
1、基本碰撞检测代码 function OnCollisionEnter(theCollision : Collision){ if(theCollision.gameObject.name == "Floor"){ Debug.Log("Hit the floor"); }else if(theC ...
分类:
编程语言 时间:
2017-08-11 17:21:35
阅读次数:
276
u3d 地形 U3d terrain 作者:韩梦飞沙 Author:han_meng_fei_sha 邮箱:313134555@qq.com E-mail: 313134555 @qq.com E-mail: 313134555 @qq.com fbx , Maya或者其他工具导出来的一种文件, 一 ...
分类:
其他好文 时间:
2017-08-07 10:01:19
阅读次数:
148
Unity用int32的每一位表示32个层,int32用二进制有32位,Layers通常被摄像机用来渲染部分场景,和灯光照射部分场景使用。但是它们也可以用来做射线检测时忽略一些collder或Collision使用。 LayerMask mask = 1 << 你需要开启的Layers层。 Laye ...
分类:
编程语言 时间:
2017-08-01 14:26:00
阅读次数:
160
#导入连接到host2的环境变量 [root@host1:~ [host2]]#eval $(docker-machine env host2) #查看docker的原生网络:桥接、本机、无三种 [root@host1:~ [host2]]#docker network ls NETWORK ID ... ...
分类:
其他好文 时间:
2017-07-30 18:59:50
阅读次数:
266
Two basic methods; separate chaining and open address. Separate Chain Hangs an additional data structure off of the buckets. For example the bucket ar ...
分类:
其他好文 时间:
2017-07-27 12:43:36
阅读次数:
194