Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for comparing gltfs by implementing PartialEq on Root #442

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rydb
Copy link

@rydb rydb commented Dec 17, 2024

I am trying to use this library to serialize meshes for my project into the gltf format. In order to confirm I'm doing it correctly, I would like to compare a mesh gltf imported from a working exporter, and the mesh gltf exported from the one I'm working on.

However, currently, I cannot compare gltf files as Root does not implement PartialEq

This pr resolves this by implementing PartialEq on Root and all attributes that Root uses.

@rydb rydb changed the title implement PartialEq on Root and its attributes Add support for comparing gltfs by implementing PartialEq on Root Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant