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
(
float scalar
,
out Box res
)

Parameters

scalar float

a scalar value

res Box

return location for the expanded box

Meta