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

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

Constructs a new box shape.
public BoxShape ( float width, float height, float length ) : System
width float Width of the box.
height float Height of the box.
length float Length of the box.
Результат System
        public BoxShape(float width, float height, float length)
        {
            halfWidth = width * .5f;
            halfHeight = height * .5f;
            halfLength = length * .5f;
            OnShapeChanged();
        }