mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-13 15:40:57 +00:00
TITANIC: Further cleanup of FMatrix refactorings
This commit is contained in:
parent
736407d7da
commit
867a37618b
@ -26,6 +26,7 @@
|
||||
namespace Titanic {
|
||||
|
||||
// Non-member functions
|
||||
|
||||
void matProd(const FMatrix &a, const FMatrix &m, FMatrix &C) {
|
||||
C._row1._x = a._row1._y * m._row2._x + a._row1._z * m._row3._x + a._row1._x * m._row1._x;
|
||||
C._row1._y = a._row1._x * m._row1._y + m._row2._y * a._row1._y + m._row3._y * a._row1._z;
|
||||
@ -108,7 +109,6 @@ void FMatrix::set(const FMatrix &m) {
|
||||
_row3 = m._row3;
|
||||
}
|
||||
|
||||
|
||||
void FMatrix::set(const FVector &row1, const FVector &row2, const FVector &row3) {
|
||||
_row1 = row1;
|
||||
_row2 = row2;
|
||||
|
Loading…
x
Reference in New Issue
Block a user