Closed jeongseok-meta closed 4 months ago
Hi, other then leaking std header it looks ok.
It's good to know that not including the STL header is a design choice of this library. Thank you for reviewing!
FYI: cstdint is preprocessed to 70KB on my MSVC. While not so bad, still better to avoid leaking it from the ofbx.h
, which itself can be included many times.
FYI: cstdint is preprocessed to 70KB on my MSVC. While not so bad, still better to avoid leaking it from the ofbx.h, which itself can be included many times.
Good to know that. I've removed it from the header. Please take another look when you have a chance. Thank you!
Thanks, merged. I made a small change to use floats by default, so nothing changed for current user. But I change it so user can switch to doubles without changing ofbx source code.
Makes sense to me, thanks!
read_value()
that uses a union and memcpy to address the issue.Updated to cross-platform typedefs