BatchNode now use bulk copy for untransformed buffers like GeometryBatchFactory
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9103 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
4c7e271606
commit
33b6bcb20c
@ -475,10 +475,11 @@ public class BatchNode extends Node implements Savable {
|
||||
useTangents = true;
|
||||
}
|
||||
} else {
|
||||
for (int vert = 0; vert < geomVertCount; vert++) {
|
||||
int curGlobalVertIndex = globalVertIndex + vert;
|
||||
inBuf.copyElement(vert, outBuf, curGlobalVertIndex);
|
||||
}
|
||||
inBuf.copyElements(0, outBuf, globalVertIndex, geomVertCount);
|
||||
// for (int vert = 0; vert < geomVertCount; vert++) {
|
||||
// int curGlobalVertIndex = globalVertIndex + vert;
|
||||
// inBuf.copyElement(vert, outBuf, curGlobalVertIndex);
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user