dplug ~master (2024-09-30T22:25:31Z)
Home
Dub
Repo
Box.scaleByFactor
dplug
math
box
Box
Scale the box by factor
scale
, and round the result to integer if needed.
Box
scaleByFactor
(float scale)
struct
Box
(T, int N)
@
nogc
const nothrow
Box
scaleByFactor
(
float
scale
)
Box
scaleByFactor
(float scaleX, float scaleY)
Meta
Source
See Implementation
dplug
math
box
Box
aliases
bound_t
constructors
this
functions
abs
contains
distance
expand
grow
intersection
intersects
isSorted
opAssign
opCast
opEquals
scaleByFactor
shrink
squaredDistance
translate
properties
center
depth
empty
height
size
volume
width
static functions
rectangle
variables
max
min
Scale the box by factor scale, and round the result to integer if needed.