BEPUphysics.CollisionShapes.ConvexShapes.MinkowskiSumShape.MinkowskiSumShape C# (CSharp) Метод

MinkowskiSumShape() публичный Метод

Constructs a minkowski sum shape. A minkowski sum can be created from more than two objects; use the other constructors. The sum will be recentered on its local origin. The computed center is outputted by the other constructor.
public MinkowskiSumShape ( OrientedConvexShapeEntry firstShape, OrientedConvexShapeEntry secondShape ) : System
firstShape OrientedConvexShapeEntry First entry in the sum.
secondShape OrientedConvexShapeEntry Second entry in the sum.
Результат System
        public MinkowskiSumShape(OrientedConvexShapeEntry firstShape, OrientedConvexShapeEntry secondShape)
        {
            shapes.Add(firstShape);
            shapes.Add(secondShape);
            shapes.Changed += ShapesChanged;
            OnShapeChanged();
            localOffset = -ComputeCenter();
        }

Same methods

MinkowskiSumShape::MinkowskiSumShape ( IList shapeEntries ) : System
MinkowskiSumShape::MinkowskiSumShape ( IList shapeEntries, Vector3 &center ) : System
MinkowskiSumShape::MinkowskiSumShape ( OrientedConvexShapeEntry firstShape, OrientedConvexShapeEntry secondShape, Vector3 &center ) : System