Пример #1
0
 public PolygonShape()
 {
     _internalPolyShape         = new cb2polygonshapeportable();
     InternalShape.m_radius     = Box2DSettings.b2_polygonRadius;
     _internalPolyShape.m_shape = base.InternalShape;
     InternalShape.m_type       = ShapeType.Polygon;
 }
Пример #2
0
 internal PolygonShape(cb2polygonshapeportable portableShape)
 {
     _internalPolyShape = portableShape;
     InternalShape      = portableShape.m_shape;
 }