Skip to content

Documentation / base / unpackFloat3

Function: unpackFloat3()

unpackFloat3<T>(pk, result): void

Defined in: libs/base/src/math/misc.ts:242

Decompresses the three floats that was compressed to R11F_G11F_B10F format

Type Parameters

T

T extends number[] | Float32Array<ArrayBuffer>

Parameters

pk

number

The compressed value

result

T

A float array that will store the decompressed floats

Returns

void

Released under the MIT License.