MCPcopy Create free account
hub / github.com/defold/defold / IdentityTransform

Function IdentityTransform

engine/modelc/src/modelimporter_gltf.cpp:680–688  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

678}
679
680static 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
690static void LoadTransform(cgltf_texture_transform* in, TextureTransform* out)
691{

Callers 1

LoadTextureViewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected