Shipwright/libultraship/libultraship/Matrix.cpp
M4xw d24c8453db git subrepo clone https://github.com/HarbourMasters/libultraship.git
subrepo:
  subdir:   "libultraship"
  merged:   "a484cda98"
upstream:
  origin:   "https://github.com/HarbourMasters/libultraship.git"
  branch:   "main"
  commit:   "a484cda98"
git-subrepo:
  version:  "0.4.1"
  origin:   "???"
  commit:   "???"
2022-03-22 02:52:44 +01:00

13 lines
299 B
C++

#include "Matrix.h"
namespace Ship
{
void MatrixV0::ParseFileBinary(BinaryReader* reader, Resource* res) {
Matrix* mtx = (Matrix*)res;
ResourceFile::ParseFileBinary(reader, res);
for (size_t i = 0; i < 4; i++)
for (size_t j = 0; j < 4; j++)
mtx->mtx[i][j] = reader->ReadInt32();
}
}