See thread: http://jmonkeyengine.com/forum/index.php?topic=11790.0
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@4557
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
// resultNorm.x += temp.x * weight;
// resultNorm.y += temp.y * weight;
// resultNorm.z += temp.z * weight;
-
- ib.position(ib.position()+fourMinusMaxWeights);
- wb.position(wb.position()+fourMinusMaxWeights);
}
+ ib.position(ib.position()+fourMinusMaxWeights);
+ wb.position(wb.position()+fourMinusMaxWeights);
+
// overwrite vertex with transformed pos
vb.position(vb.position()-3);
vb.put(resultVert.x).put(resultVert.y).put(resultVert.z);