[x3d-public] C++ integer plus sentinel (-1) array type
John Carlson
yottzumm at gmail.com
Thu Apr 4 19:26:53 PDT 2024
Dear Myeong,
Would it be valuable to create a C++ type for “integer with a sentinel
(-1)” array? I’m working on a parser, and I realize this is a subset of
integers, and it might slow down the parser, or the sentinel might not even
be detectable.
The idea would be to create another type to recognize for triangle and
polygon index fields, and the type is declared at the front of the array,
so parsing is a lot easier, and provide extra checks on source code.
Is this what the type int32_t[] is?
Thanks,
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20240404/1bc04734/attachment.html>
More information about the x3d-public
mailing list