Arseny Kapoulkine

Results 299 comments of Arseny Kapoulkine
trafficstars

Does this happen when `-kn` is used as well? 75235304.000 should roundtrip exactly as a 32-bit float. Although maybe you mean that the children have offsets that are close to...

Ok - yeah, the attached scene requires full double precision to support. I filed https://github.com/jkuhlmann/cgltf/issues/228 for now. Short of the previously discussed workarounds in this thread where the objects are...

Any chance you'd be able to share some meshes in question, publicly or privately, as well as the evaluation criteria for the sort order? There's definitely an expectation that the...

Sure... why is this a problem? It's not clear to me if changing this is worth the benefit, as the application can just not create empty text children.

Ok, and it's impractical for your application to check if the field is empty before assigning? What if the field value is purely white space? Additionally, if your data has...

Can you share the motivation for this change?

Sure - however, these are numeric constants with a literal initializer; clang doesn't emit any symbols here, and gcc doesn't emit any symbols with -O1 or higher. This would be...

What if there's a mix of PCDATA and CDATA content?

On the data structure, I feel like using `cgltf_xmp_json_packet** xmp_packets; size_t xmp_packets_count;` instead of a struct with a packet index would fit the rest of the API better. We can...

Related: #228 outlines the caveats around compatibility with an unconditional change like this. That said, #229 has a much wider scope that technically isn't required there. Maybe a good middleground...