feat(vector): add operator* for C3Vector and C44Matrix

This commit is contained in:
fallenoak 2022-12-24 17:08:45 -06:00
parent e960598699
commit 3619492e39
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D
2 changed files with 13 additions and 0 deletions

View file

@ -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