Is it possible to flatten fixed sized arrays to a single array?
Serialize
std::vector<Vec3> points = {{1,2,3} , {4,5,6} };
{
"points" : [
1,
2,
3,
4,
5,
6
]
}
Deserialize
{
"points" : [
1,
2,
3,
4,
5,
6
]
}
std::vector<Vec3> points = { {1,2,3} {4,5,6} };
Is it possible to flatten fixed sized arrays to a single array?
Serialize
Deserialize