Box.expandScalar

void expandScalar(float scalar, out graphene.box.Box res)

Expands the dimensions of box by the given scalar value.

If scalar is positive, the #graphene_box_t will grow; if scalar is negative, the #graphene_box_t will shrink.

Parameters

scalara scalar value
resreturn location for the expanded box