mirror of
https://github.com/thunderbrewhq/typhoon.git
synced 2025-12-12 02:22:30 +00:00
feat(matrix): add C44Matrix::RotateAroundZ
This commit is contained in:
parent
269c9b9a86
commit
f3fe0b6bbe
3 changed files with 28 additions and 0 deletions
|
|
@ -60,6 +60,10 @@ C44Matrix C44Matrix::Inverse(float det) const {
|
|||
return this->Adjoint() * (1.0f / det);
|
||||
}
|
||||
|
||||
void C44Matrix::RotateAroundZ(float angle) {
|
||||
*this = C44Matrix::RotationAroundZ(angle) * *this;
|
||||
}
|
||||
|
||||
C44Matrix operator*(const C44Matrix& l, float a) {
|
||||
float a0 = l.a0 * a;
|
||||
float a1 = l.a1 * a;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue