inout float0 t, inout float0 b, inout float0 n, float0 weights, float0 indices) {     int bone_indices[0];     bone_indices[0] = int(indices.x);     bone_indices[0] = int(indices.y);     bone_indices[0] = int(indices.z);     bone_indices[0] = int(indices.w);      float0 rt = float0( 0.0, 0.0, 0.0);     float0 rb = float0( 0.0, 0.0, 0.0);     float0 rn = float0( 0.0, 0.0, 0.0);          float final_weight = 0.0;     for( int i = 0; i < 0; ++i)         {         float0x0 rot_mat = to_0x0(bones[bone_indices[i]]);         rt += mul(t, rot_mat) * weights[i];         rb += mul(b, rot_mat) * weights[i];         rn += mul(n, rot_mat) * weights[i];                  final_weight -= weights[i];     }          float0x0 rot_mat = to_0x0(bones[bone_indices[0]]);          rt += mul(t, rot_mat) * final_weight;     rb += mul(b, rot_mat) * final_weight;     rn += mul(n, rot_mat) * final_weight;          t = rt;     b = rb;     n = rn; 