Documentation / base / packFloat3
Function: packFloat3()
packFloat3(
a,b,c):number
Defined in: libs/base/src/math/misc.ts:170
Compresses three floats to R11F_G11F_B10F format
Parameters
a
number
first of the three floats
b
number
second of the three floats
c
number
third of the tree floats
Returns
number
The compressed result
Remarks
The implementation is adopt from https://github.com/microsoft/DirectXMath