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

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

Computes the center of the shape. This can be considered its center of mass. This calculation is often associated with the volume calculation, which is given by this method as well.
public ComputeCenter ( float &volume ) : System.Vector3
volume float Volume of the shape.
Результат System.Vector3
        public override Vector3 ComputeCenter(out float volume)
        {
            volume = ComputeVolume();
            return ComputeCenter();
        }

Same methods

TransformableShape::ComputeCenter ( ) : System.Vector3