2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-07-09 20:51:51 +00:00

chore: use std array for json constants

This commit is contained in:
Jan Laupetin
2025-07-07 18:13:47 +02:00
parent c53b17a3db
commit 30c6735ff5
2 changed files with 3 additions and 3 deletions

View File

@ -201,12 +201,12 @@ namespace
jConstantDef.nameFragment = nameFragment;
}
jConstantDef.literal = std::vector({
jConstantDef.literal = {
constantDef.literal.x,
constantDef.literal.y,
constantDef.literal.z,
constantDef.literal.w,
});
};
}
static void CreateJsonStencil(JsonStencil& jStencil, const unsigned pass, const unsigned fail, const unsigned zFail, const unsigned func)