expand_scalar
Description:
public Box expand_scalar (
float scalar)
Expands the dimensions of this by the given scalar
value.
If scalar
is positive, the Box will grow; if scalar
is negative,
the Box will shrink.
Parameters:
this |
a Box
|
scalar |
a scalar value
|
res |
return location for the expanded box
|