Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 591 vs 593 for /trunk/Source Code/Dynamics/Entities/Particles/ParticleEmitter.cpp

Diff revisions: vs.
  @@ -309,7 +309,6 @@
309 309 }
310 310
311 311 const vec3<F32>& eyePos = sceneState.renderState().getCameraConst().getEye();
312 - U8 lodLevel = sgn.getComponent<RenderingComponent>()->lodLevel();
313 312
314 313 const vec3<F32>& pos = transform->getPosition();
315 314 const Quaternion<F32>& rot = transform->getOrientation();
  @@ -324,7 +323,6 @@
324 323 _particles->_misc[i].w = _particles->_position[i].xyz().distanceSquared(eyePos);
325 324 _particles->_position[i].w = 1.0f * _particles->_misc[i].z;
326 325 _particles->_acceleration[i].set(0.0f);
327 - _particles->lodLevel(lodLevel);
328 326 }
329 327
330 328 for (std::shared_ptr<ParticleUpdater>& up : _updaters) {