mirror of
https://github.com/thunderbrewhq/typhoon.git
synced 2025-12-12 02:22:30 +00:00
feat(vector): add operator* for C3Vector and C44Matrix
This commit is contained in:
parent
e960598699
commit
3619492e39
2 changed files with 13 additions and 0 deletions
|
|
@ -1,6 +1,8 @@
|
|||
#ifndef TEMPEST_VECTOR_C_3VECTOR_HPP
|
||||
#define TEMPEST_VECTOR_C_3VECTOR_HPP
|
||||
|
||||
class C44Matrix;
|
||||
|
||||
class C3Vector {
|
||||
public:
|
||||
// Member variables
|
||||
|
|
@ -22,6 +24,8 @@ class C3Vector {
|
|||
|
||||
C3Vector operator+(const C3Vector& l, const C3Vector& r);
|
||||
|
||||
C3Vector operator*(const C3Vector& l, const C44Matrix& r);
|
||||
|
||||
bool operator!=(const C3Vector& l, const C3Vector& r);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue