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

Support glTF standard types: integer, vec2, vec3, vec4/quat, mat2, mat3, mat4 #105

Closed
bhouston opened this issue Sep 27, 2022 · 3 comments
Closed

Comments

@bhouston
Copy link
Owner

Confirm that integer is a real thing. I think it is.

Interestingly enough, vec4 and quat are the same type. I may not want that in this system because quat operations are different than vec4. But I could have a transformer that converts both to the same underlying type.

@bhouston
Copy link
Owner Author

bhouston commented Oct 6, 2022

It turns out mat2, mat3 and mat4 are not required in the first version. I've added Vec2, Vec3 and Vec4 in this PR: #109

@bhouston
Copy link
Owner Author

bhouston commented Oct 6, 2022

What is remaining is support for Integer. What precision? Probably 32 bit I assume.

@bhouston
Copy link
Owner Author

bhouston commented Oct 6, 2022

I've added support for Integer and converted Number to be Float.

@bhouston bhouston closed this as completed Oct 6, 2022
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

No branches or pull requests

1 participant