Rework Serialization functions

add name and handle more types
This commit is contained in:
SweetId
2024-03-05 17:26:07 -05:00
parent 055634e77c
commit a0f2b128d7
28 changed files with 645 additions and 336 deletions

View File

@@ -1368,7 +1368,7 @@ namespace Nz
{
for (unsigned int i = 0; i < 16; ++i)
{
if (!Serialize(context, matrix[i]))
if (!Serialize(context, "", matrix[i]))
return false;
}
@@ -1388,7 +1388,7 @@ namespace Nz
T* head = &matrix->m11;
for (unsigned int i = 0; i < 16; ++i)
{
if (!Unserialize(context, head + i))
if (!Unserialize(context, "", head + i))
return false;
}