public override Vector2f GetPoint(uint index) { return myPoints[index]; }
//////////////////////////////////////////////////////////// /// <summary> /// Construct the shape from another shape /// </summary> /// <param name="copy">Shape to copy</param> //////////////////////////////////////////////////////////// public ConvexShape(ConvexShape copy) : base(copy) { SetPointCount(copy.GetPointCount()); for (uint i = 0; i < copy.GetPointCount(); ++i) SetPoint(i, copy.GetPoint(i)); }