max

open fun max(@NotNull origin: @NotNull Float3): Float

Calculates the maximum distance from the origin to any corner of the cube.

Return

the maximum length

Since

1.15.2

Parameters

origin

the reference origin