{"push_id":730073917,"size":1,"distinct_size":1,"ref":"refs/heads/rend2","head":"d2b392dd8a167212a8691aa87858e0e0ff700460","before":"b0810c23a5ec0f7b33b0ec5995493c5cfade55cb","commits":[{"sha":"d2b392dd8a167212a8691aa87858e0e0ff700460","author":{"email":"60c6d277a8bd81de7fdde19201bf9c58a3df08f4@acslo.com","name":"Xycaleth"},"message":"Rend2: Fix stretched triangles in G2 rendering\n\nDue to the way bone weights are stored in the .glm file, some precision\nis lost when expanding them back out to full floats. As a result, the\nsum of all the weights will not always up to 1.0.\n\nTo rectify this, the influence of the last bone is now calculated as\nwhatever is remaining after the other weightings have been subtracted\nfrom 1.0.\n\nThis commit also fixes a minor issue with a one-off issue with the max\nindex passed to glDrawRangeElements. This makes no difference to the\nrendering and is more for correctness.","distinct":true,"url":"https://api.github.com/repos/xycaleth/OpenJK/commits/d2b392dd8a167212a8691aa87858e0e0ff700460"}]}