Closed bowald closed 6 months ago
Adds a translation from cgltf_primitive_type to gltf primitive rendering mode in the writer.
cgltf_primitive_type
This PR is a fix for the issue https://github.com/jkuhlmann/cgltf/issues/243.
The bug was introduced when cgltf_primitive_type was added in commit afe4d3aa29f47f45c21e563f500e49f4e10d6428 and resulted in rendering mode was offset by one in the written file.
Thanks for a great library!
Sorry about the regression, and thanks for the fix!
Adds a translation from
cgltf_primitive_type
to gltf primitive rendering mode in the writer.This PR is a fix for the issue https://github.com/jkuhlmann/cgltf/issues/243.
The bug was introduced when
cgltf_primitive_type
was added in commit afe4d3aa29f47f45c21e563f500e49f4e10d6428 and resulted in rendering mode was offset by one in the written file.Thanks for a great library!