Functions
On this page
function decodeOctNormal(
// The unsigned 8-bit X coordinate on the projected octahedron.
x: number,
// The unsigned 8-bit Y coordinate on the projected octahedron.
y: number,
// The target vector.
target?: Vector3
): voidDecode an octahedron-encoded normal (as a pair of 8-bit unsigned numbers) into a Vector3.
Resources: