UNPKG

@openhps/core

Version:

Open Hybrid Positioning System - Core component

10 lines (8 loc) 246 B
export default /* glsl */` #ifdef USE_SKINNING mat4 boneMatX = getBoneMatrix( skinIndex.x ); mat4 boneMatY = getBoneMatrix( skinIndex.y ); mat4 boneMatZ = getBoneMatrix( skinIndex.z ); mat4 boneMatW = getBoneMatrix( skinIndex.w ); #endif `;