diff options
author | David Fioramonti | 2017-08-12 18:13:25 -0700 |
---|---|---|
committer | David Fioramonti | 2017-08-12 18:32:52 -0700 |
commit | a3199414369bcdf51f6425b83d00263999285404 (patch) | |
tree | 8021e1ff9d81e77f212bf21d49f5702cb7338de3 /engines/titanic/star_control/dvector.h | |
parent | a03183760a428144987832956355054736173878 (diff) | |
download | scummvm-rg350-a3199414369bcdf51f6425b83d00263999285404.tar.gz scummvm-rg350-a3199414369bcdf51f6425b83d00263999285404.tar.bz2 scummvm-rg350-a3199414369bcdf51f6425b83d00263999285404.zip |
TITANIC: Star control dvector work, renamed fn1 to DAffMatrixProdVec
It does a matrix product with a vector and a z translation
Diffstat (limited to 'engines/titanic/star_control/dvector.h')
-rw-r--r-- | engines/titanic/star_control/dvector.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/titanic/star_control/dvector.h b/engines/titanic/star_control/dvector.h index 94df30ebbd..cd57cbc82e 100644 --- a/engines/titanic/star_control/dvector.h +++ b/engines/titanic/star_control/dvector.h @@ -48,7 +48,13 @@ public: */ double getDistance(const DVector &src); - DVector fn1(const DAffine &m); + /** + * Returns the matrix product with this vector and + * also does a z translations + * Doesn't change this vector + */ + DVector DAffMatrixProdVec(const DAffine &m); + void fn2(double angle); DVector fn3() const; DAffine fn4(const DVector &v); |