aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/star_control/fmatrix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/star_control/fmatrix.cpp')
-rw-r--r--engines/titanic/star_control/fmatrix.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/engines/titanic/star_control/fmatrix.cpp b/engines/titanic/star_control/fmatrix.cpp
index ebdb6c2a5f..4a2183c5eb 100644
--- a/engines/titanic/star_control/fmatrix.cpp
+++ b/engines/titanic/star_control/fmatrix.cpp
@@ -51,22 +51,12 @@ FMatrix::FMatrix(const FVector &row1, const FVector &row2, const FVector &row3)
_row3 = row3;
}
-/*FMatrix::FMatrix(const DAffine &src) {
- copyFrom(src);
-}*/
-
FMatrix::FMatrix(const FMatrix &src) {
_row1 = src._row1;
_row2 = src._row2;
_row3 = src._row3;
}
-/*void FMatrix::copyFrom(const DAffine &src) {
- _row1 = src._col1;
- _row2 = src._col2;
- _row3 = src._col3;
-}*/
-
void FMatrix::load(SimpleFile *file, int param) {
_row1._x = file->readFloat();
_row1._y = file->readFloat();
@@ -115,12 +105,6 @@ void FMatrix::set(const FVector &row1, const FVector &row2, const FVector &row3)
_row3 = row3;
}
-/*void FMatrix::set(const DVector &row1, const DVector &row2, const DVector &row3) {
- _row1 = row1;
- _row2 = row2;
- _row3 = row3;
-}*/
-
void FMatrix::set(const FVector &v) {
_row3 = v;
_row2 = _row3.swapComponents();