2、rt Box2D.mon.Math.*import Box2D.mon.*import General.*import flash.display.*;import flash.events.*;import flash.utils.getTimerimport flash.display.MovieClip; public class Main extends MovieClip{ public function Main(){ m_fpsCounter.x = 7; m_fpsCounter.y = 5;
6、5.0); body1 = m_Shapes(); } /***************************************************/ /*********************ETAPE 1***********************/ /***************************************************/ public function CheckPolyShape(poly:b2PolygonDef) { if (!(3 <
7、;= poly.vertexCount poly.vertexCount <= b2_maxPolygonVertices)){ return -1; } var m_normals:Array = neals. Ensure the edges have non-zero length. for (var i=0; i < poly.vertexCount; i++)上一页123456789下一页[感谢阅读这篇文章,..,]{ var i1 = i; var i2 = 0;