Skip to content

size3ScaleToFit

size3ScaleToFit(container, contained): number

Defined in: size3.ts:67

Returns the uniform scale factor needed to fit contained inside container, preserving aspect ratio (the smallest of the three axis ratios).

Size3

Size3

number