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

By default _offsetDefault set to 1,1 but it should be 0,0 #21

Closed
gleblebedev opened this issue Aug 20, 2019 · 1 comment
Closed

By default _offsetDefault set to 1,1 but it should be 0,0 #21

gleblebedev opened this issue Aug 20, 2019 · 1 comment

Comments

@gleblebedev
Copy link

at src/SharpGLTF.Core/Schema2/Generated/ext.TextureTransform.g.cs

private static readonly Vector2 _offsetDefault = Vector2.One;

should be

private static readonly Vector2 _offsetDefault = Vector2.Zero;

spec: https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_texture_transform

@vpenades
Copy link
Owner

Thanks, I've fixed it in the code generation side.

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

2 participants