mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:14:59 +02:00
cr cleanup
This commit is contained in:
parent
0fd3f00054
commit
5a90dc4487
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ void VoxelNodeBag::insert(VoxelNode* node) {
|
|||
if (oldBag) {
|
||||
// copy old elements into the new bag, but leave a space where we need to
|
||||
// insert the new node
|
||||
memcpy(_bagElements, oldBag, insertAt*sizeof(VoxelNode*));
|
||||
memcpy(_bagElements, oldBag, insertAt * sizeof(VoxelNode*));
|
||||
memcpy(&_bagElements[insertAt+1], &oldBag[insertAt], (_elementsInUse-insertAt) * sizeof(VoxelNode*));
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue