Box.expandScalar

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.

class Box
void
expandScalar

Parameters

scalar float

a scalar value

res graphene.box.Box

return location for the expanded box