mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2025-10-27 19:47:34 +00:00
In general, we want the scalar division of vectors and matrices to have the matrix come first and the scalar come second. It doesn't make sense to divide a scalar by a vector or to divide a matrix by a vector, so these should now produce errors at compile time. Also, make sure to add additional types that can be multiplied together using the * operator. If we multiply two vectors together, that's a dot product. The size restrictions should be enforced at compile time by the template parameters for VectorBase<T, N>::Dot In this way, we can support vector/matrix multiplication by retaining the * operator as well. |
||
|---|---|---|
| .. | ||
| config | ||
| include | ||
| src | ||
| test | ||
| CMakeLists.txt | ||