aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/star_control/fpose.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/star_control/fpose.h')
-rw-r--r--engines/titanic/star_control/fpose.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/titanic/star_control/fpose.h b/engines/titanic/star_control/fpose.h
index 7a1dc7e5e1..d3c43fa439 100644
--- a/engines/titanic/star_control/fpose.h
+++ b/engines/titanic/star_control/fpose.h
@@ -27,6 +27,8 @@
namespace Titanic {
+class CMatrixTransform;
+
/*
* This class combines a position and orientation in 3D space
* TODO: Merge with DAffine
@@ -69,6 +71,13 @@ public:
void copyFrom(const FMatrix &src);
/**
+ * Change this Daffine to have its first three columns be some mapping from src matrix
+ * and the 4rth column to be (three) zeros. The mapping is not as simple as replacing
+ * matching row/colmn indices
+ */
+ void loadTransform(const CMatrixTransform &src);
+
+ /**
* The inverse of rotation and the position vector
*/
FPose inverseTransform() const;