diff options
Diffstat (limited to 'engines/titanic/star_control/fmatrix.cpp')
-rw-r--r-- | engines/titanic/star_control/fmatrix.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/titanic/star_control/fmatrix.cpp b/engines/titanic/star_control/fmatrix.cpp index 829b371120..f3cf19c85f 100644 --- a/engines/titanic/star_control/fmatrix.cpp +++ b/engines/titanic/star_control/fmatrix.cpp @@ -28,17 +28,17 @@ FMatrix::FMatrix() : _row1(1.0, 0.0, 0.0), _row2(0.0, 1.0, 0.0), _row3(0.0, 0.0, 1.0) { } -FMatrix::FMatrix(DMatrix *src) { +FMatrix::FMatrix(const DMatrix &src) { copyFrom(src); } -FMatrix::FMatrix(FMatrix *src) { - _row1 = src->_row1; - _row2 = src->_row2; - _row3 = src->_row3; +FMatrix::FMatrix(const FMatrix &src) { + _row1 = src._row1; + _row2 = src._row2; + _row3 = src._row3; } -void FMatrix::copyFrom(const DMatrix *src) { +void FMatrix::copyFrom(const DMatrix &src) { // TODO } |