diff options
Diffstat (limited to 'engines/titanic/star_control/fvector.h')
-rw-r--r-- | engines/titanic/star_control/fvector.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/titanic/star_control/fvector.h b/engines/titanic/star_control/fvector.h index 201d19e33a..9bf6a55cce 100644 --- a/engines/titanic/star_control/fvector.h +++ b/engines/titanic/star_control/fvector.h @@ -152,6 +152,10 @@ public: return FVector(_x * right, _y * right, _z * right); } + const FVector operator*(const FVector &right) const { + return FVector(_x * right._x, _y * right._y, _z * right._z); + } + void operator+=(const FVector &delta) { _x += delta._x; _y += delta._y; |