danini-the-panini/mittsu-opengl

View on GitHub
lib/mittsu/opengl/shader/chunks/skinbase_vertex.glsl

Summary

Maintainability
Test Coverage
#ifdef USE_SKINNING

    mat4 boneMatX = getBoneMatrix( skinIndex.x );
    mat4 boneMatY = getBoneMatrix( skinIndex.y );
    mat4 boneMatZ = getBoneMatrix( skinIndex.z );
    mat4 boneMatW = getBoneMatrix( skinIndex.w );

#endif