mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-11 20:15:07 -05:00
d24c8453db
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: "???"
13 lines
299 B
C++
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();
|
|
}
|
|
} |