mirror of
https://github.com/thunderbrewhq/typhoon.git
synced 2025-12-12 02:22:30 +00:00
feat(matrix): add C44Matrix::Scale for C3Vector
This commit is contained in:
parent
3619492e39
commit
6b14afb6bd
2 changed files with 18 additions and 0 deletions
|
|
@ -1,6 +1,8 @@
|
|||
#ifndef TEMPEST_MATRIX_C_44MATRIX_HPP
|
||||
#define TEMPEST_MATRIX_C_44MATRIX_HPP
|
||||
|
||||
class C3Vector;
|
||||
|
||||
class C44Matrix {
|
||||
public:
|
||||
// Static functions
|
||||
|
|
@ -47,6 +49,7 @@ class C44Matrix {
|
|||
float Determinant() const;
|
||||
C44Matrix Inverse(float det) const;
|
||||
void RotateAroundZ(float angle);
|
||||
void Scale(const C3Vector& scale);
|
||||
};
|
||||
|
||||
C44Matrix operator*(const C44Matrix& l, float a);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue