码迷,mamicode.com
首页 >  
搜索关键字:check point r77.30    ( 16204个结果
Singleton Design Pattern
Definition Ensure a class has only one instance and provide a global point of access to it.Participants The classes and/or objects participating in th...
分类:其他好文   时间:2014-09-01 12:19:33    阅读次数:162
坐标系与基本图元(1) ~转载天行健 君子当自强而不息
坐标系与基本图元(1)Direct3D基本图元图元(primitives)是Direct3D中定义的基本图形表示,它是组成一个单一实体的一组顶点。最简单的图元是三维坐标系中多个点的集合,称为点列表(point list)。通常,图元是多边形(polygon),一个多边形是由至少三条边组成的封闭图形。...
分类:其他好文   时间:2014-09-01 12:18:03    阅读次数:224
SQLServer - 约束
一、约束的分类 在SQLServer中,有3种不同类型的约束。 1、实体约束 实体约束是关于行的,比如某一行出现的值就不允许出现在其他行,例如主键。 2、域约束 域约束是关于列的,对于所有行,某一列有那些约束,例如CHECK约束。 3、参照完整性约束 如果某列的值必须与其他...
分类:数据库   时间:2014-09-01 12:08:43    阅读次数:296
玩家移动
玩家移动1.检查位置包auto& mpos = m_spBase->getMapPos(pos.tgtPos);if(!check_move_pos(pos, pl)) return;2.跟新当前位置及方向,更新客户端发过来的位置pl->last_move_mode = EnumMoveMod...
分类:移动开发   时间:2014-08-31 18:35:11    阅读次数:299
How to start a pdf reader from a Linux command line?
Before you do this, you should be in a GOME or KDE environment, then type the following commands to check whether you've stalled the app:$ type evince...
分类:系统相关   时间:2014-08-31 17:01:21    阅读次数:224
百度地图遇到的问题
/*** 在地头上设置Marker标记*/public void setMarker(LatLng point){setLatitude.setText(point.latitude+""); setLongitude.setText(point.longitude+""); setName.s.....
分类:其他好文   时间:2014-08-31 15:38:11    阅读次数:206
linux包之rpm之rpm命令
必须选择下面的基本模式:Query, Verify, Signature Check, Install/Upgrade/Freshen, Uninstall, Initialize Database, Rebuild Database, Resign, Add Signature, Set Owne...
分类:系统相关   时间:2014-08-31 13:11:31    阅读次数:278
python大杂烩
1,浮点数。python中的计算(转载自知乎)Python 2.7 中, a / b = c,如果 a 和 b 均为 integer,则结果 c 也会被丢掉小数部分然后变成 integer 例如:5 / 2 = 2,若要准确的小数结果,将 a 或 b 变为 floating-point number...
分类:编程语言   时间:2014-08-30 20:21:49    阅读次数:264
uva 1151 - Buy or Build poj 2784 Buy or Build(最小生成树)
也是简单的最小生成树算法 不过添加了一些新的东西,需要对最小生成树算法 以及其中的 并查集的使用 有一些比较深入的理解。 处理问题的方法也有些复杂 #include #include #include #include using namespace std; const int maxn = 1005; struct point { int x; int y; }pp[m...
分类:其他好文   时间:2014-08-30 16:28:59    阅读次数:149
cocos2dx 坐标转换
Point point1 = sprite1->convertToNodeSpace(sprite2->getPosition());绝对坐标转相对坐标newP2 = (p2.x-p1.x, p2.y-p1.y)Point point2 = sprite1->convertToWorldSpace(...
分类:其他好文   时间:2014-08-30 15:07:49    阅读次数:318
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!