Question: Can someone explain how this solution works?
should be the line diff[index]=0.0f instead of diff[0]=0.0f? And I think when diff is diff[2] instead of diff[3],it still works...?
Question: Can someone explain how this solution works?
should be the line diff[index]=0.0f instead of diff[0]=0.0f? And I think when diff is diff[2] instead of diff[3],it still works...?