public BoxShape(float width, float height, float length) { halfWidth = width * .5f; halfHeight = height * .5f; halfLength = length * .5f; OnShapeChanged(); }