mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2025-11-20 01:04:56 +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. |
||
|---|---|---|
| .. | ||
| Color.h | ||
| CompressionFormat.h | ||
| CompressionJob.h | ||
| Image.h | ||
| ImageFwd.h | ||
| IPixel.h | ||
| Matrix3x3.h | ||
| MatrixBase.h | ||
| MatrixSquare.h | ||
| Pixel.h | ||
| ScopedAllocator.h | ||
| TexCompTypes.h | ||
| Vector2.h | ||
| Vector3.h | ||
| Vector4.h | ||
| VectorBase.h | ||