
Box2d
speedboy007
我们是一个充满活力激情的团队,拥有5年以上的移动互联网开发经验,专注于移动手机开发iOS,Android开发和产品设计,帮助客户设计UI,UE和开发产品,高质量的代码和文档,优秀的UI设计和体验
展开
-
Box2D 形状坐标(Shape Coordinates)
Shape Coordinates Posted on March 25, 2012 Keep in mind that a shape does not know about bodies and stand apart from the dynamics system. Shapes are stored in a compact form that is optimized for si翻译 2012-09-20 12:06:21 · 1843 阅读 · 0 评论 -
Box2D __m128
The best way to use SSE is to use the __m128 intrinsic directly. Unfortunately Visual Studio displays the values backwards (w,z,y,x). Bleh. Here is a change to autoexp.dat to correct the order. Fir翻译 2012-09-20 13:26:29 · 684 阅读 · 0 评论 -
Box2D 像素(pixels)
Box2D使用MKS(米,千克,秒)的单位和弧度的角度。你或许有很多麻烦在使用米单位的时候,因为你的游戏用的是像素单位。为了解决这个问题我们在testbed平台上,我以米为单位计算,然后使用一个OpenGL视口变换到屏幕空间来缩放世界坐标。 float lowerX = -25.0f, upperX = 25.0f, lowerY = -5.0f, upperY = 25.0f; gl翻译 2012-09-20 13:24:22 · 1572 阅读 · 0 评论