Пример #1
0
        public DistanceTest()
        {
            {
                _polygonA = new PolygonShape();
                _transformA.SetIdentity();
                _transformA.Position.Set(0.0f, -0.2f);
                _polygonA.SetAsBox(10.0f, 0.2f);
            }

            {
                _polygonB = new PolygonShape();
                _positionB.Set(12.017401f, 0.13678508f);
                _angleB = -0.0109265f;
                _transformB.Set(_positionB, _angleB);
                _polygonB.SetAsBox(2.0f, 0.1f);
            }
        }