Search across packages, versions, files, declarations, and comments.
Use multiple terms to narrow results (AND), and add @vertex,
@fragment, or @compute to filter by shader stage.
https://jcgt.org/published/0006/01/01/paper.pdf
this method of constructing a basis from a vec3 is also used by glam::Vec3::any_orthonormal_pair
the construction of the orthonormal basis up and right vectors here needs to precisely match the rust
implementation in bevy_light/spot_light.rs:spot_light_world_from_view
Extracts the square portion of an affine matrix: i.e. discards the translation.