| 678 | } |
| 679 | |
| 680 | static void IdentityTransform(TextureTransform* out) |
| 681 | { |
| 682 | out->m_Offset[0] = 0.0f; |
| 683 | out->m_Offset[1] = 0.0f; |
| 684 | out->m_Scale[0] = 1.0f; |
| 685 | out->m_Scale[1] = 1.0f; |
| 686 | out->m_Rotation = 0.0f; |
| 687 | out->m_Texcoord = -1; |
| 688 | } |
| 689 | |
| 690 | static void LoadTransform(cgltf_texture_transform* in, TextureTransform* out) |
| 691 | { |