Commit 0a566946 authored by BRAMAS Berenger's avatar BRAMAS Berenger

update again the default particle position for padding

parent 3fa19de3
......@@ -131,7 +131,7 @@ protected:
memcpy(newData + (allocatedParticles * idx), positions[idx], sizeof(FReal) * nbParticles);
positions[idx] = newData + (allocatedParticles * idx);
for(FSize idxEmpty = nbParticles ; idxEmpty < allocatedParticles ; ++idxEmpty){
positions[idx][idxEmpty] = std::numeric_limits<FReal>::infinity();
positions[idx][idxEmpty] = std::numeric_limits<FReal>::max()/2;
}
}
// copy attributes
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment