| Parameter | Description |
|---|---|
| normal | Unit length normal vector. |
| basis1 | Output unit length vector, orthogonal to normal vector. |
| basis2 | Output unit length vector, orthogonal to normal vector and basis1. |
Generate an orthonormal basis given a single unit length normal vector.
This implementation is from "Building an Orthonormal Basis, Revisited" https://graphics.pixar.com/library/OrthonormalB/paper.pdf
| Parameter | Description |
|---|---|
| normal | Unit length normal vector. |
| basis1 | Output unit length vector, orthogonal to normal vector. |
| basis2 | Output unit length vector, orthogonal to normal vector and basis1. |
Generate an orthonormal basis given a single unit length normal vector.
This implementation is from "Building an Orthonormal Basis, Revisited" https://graphics.pixar.com/library/OrthonormalB/paper.pdf