Brunot
Loading...
Searching...
No Matches
AffineMatrix.cpp File Reference
#include "Utility/Math/AffineMatrix.h"
#include <numbers>
Include dependency graph for AffineMatrix.cpp:

Functions

auto operator* (float scalar, const AffineMatrix &matrix) ->AffineMatrix
auto operator* (const AffineMatrix &matrix, float scalar) ->AffineMatrix
auto operator*= (AffineMatrix &matrix, float scalar) ->AffineMatrix &

Function Documentation

◆ operator*() [1/2]

auto operator* ( const AffineMatrix & matrix,
float scalar )->AffineMatrix
Parameters
matrixthe matrix
scalarthe float
Returns
the scaled matrix

◆ operator*() [2/2]

auto operator* ( float scalar,
const AffineMatrix & matrix )->AffineMatrix
Parameters
scalarthe float
matrixthe matrix
Returns
the scaled matrix

◆ operator*=()

auto operator*= ( AffineMatrix & matrix,
float scalar )->AffineMatrix &
Parameters
matrixthe matrix
scalarthe float
Returns
a reference to the modified matrix