include/Spectre/Math/Matrix3.h: Adding multiplication and division scalar operations.
This commit is contained in:
parent
c313c5134f
commit
6e8f060882
2 changed files with 43 additions and 1 deletions
|
|
@ -58,7 +58,16 @@ struct Matrix3
|
|||
inline Matrix3<T> operator*(const Matrix3<T>& mat) const;
|
||||
inline Matrix3<T> operator*=(const Matrix3<T>& mat);
|
||||
|
||||
// Need scalar, vector arithmetic?
|
||||
|
||||
// -----------------
|
||||
// Arithmetic: Scalar
|
||||
// -----------------
|
||||
|
||||
inline Matrix3<T> operator/(T value) const;
|
||||
inline Matrix3<T> operator/=(T value);
|
||||
|
||||
inline Matrix3<T> operator*(T value) const;
|
||||
inline Matrix3<T> operator*=(T value);
|
||||
|
||||
// -----------------
|
||||
// Named operations.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue