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();
}