mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2024-11-24 08:35:37 +01:00
62cce58c2f
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 |