示例#1
0
 public CircleShape(Vec2 position, float radius = 0.0f)
 {
     _internalCircleShape         = new cb2circleshapeportable();
     _internalCircleShape.m_shape = base.InternalShape;
     InternalShape.m_type         = ShapeType.Circle;
     InternalShape.m_radius       = radius;
     _internalCircleShape.m_p     = position;
 }
示例#2
0
 internal CircleShape(cb2circleshapeportable portableShape)
 {
     _internalCircleShape = portableShape;
     InternalShape        = portableShape.m_shape;
 }