octDecodeFloat

external fun octDecodeFloat(value: Double, result: Cartesian3): Cartesian3(source)

Decodes a unit-length vector in 'oct' encoding packed in a floating-point number to a normalized 3-component vector.

Return

The decoded and normalized vector.

Parameters

value

The oct-encoded unit length vector stored as a single floating-point number.

result

The decoded and normalized vector

See also