scp-fs2open / scp-fs2open/fs2open.github.com
update, consolidate, and optimize `vm_vector_2_matrix`
- Dominant language
- C++
- Stars
- 487
- Forks
- 184
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 44
Description
I chatted with @Baezon about the various branch paths in `vm_vector_2_matrix`. After stable, the functions can be rewritten to be general-purpose for fvec-dominant vs uvec-dominant use cases, but we should also have fast simple function overloads for the common cases.
1. `vm_vector_2_matrix_fvec` and `vm_vector_2_matrix_uvec` specific functions (with `_norm` variants) for quickly generating a matrix from only a single vector
2. `vm_vector_2_matrix` (with `_norm` variant) for generating either an fvec-dominant or a uvec-dominant matrix where any two, or all three, vectors are supplied
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.