Box.scaleByFactor
- Box scaleByFactor(float scale)
- Box scaleByFactor(float scaleX, float scaleY)
struct Box(T, int N)
public @
nogc const nothrow
static if(N == 2)
scaleByFactor
dplug math box Box
aliasesconstructorsfunctionspropertiesstatic functionsvariables
Scale the box by factor scaleX horizontally and scaleY vetically. Round the result to integer if needed.