vpenades / SharpGLTF

glTF reader and writer for .NET Standard
MIT License
470 stars 75 forks source link

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

Closed gleblebedev closed 5 years ago

gleblebedev commented 5 years ago

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 commented 5 years ago

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