History

tweak modelScale to 2.0 for better space invaders

ZappoMan committed 12 years ago

Commit 055dae51 parent 468cd0d1 file · +2 −2Browse files

Showing the changes to interface/src/ParticleTreeRenderer.cpp (1 of 1 file). Show all

Unified · Split

interface/src/ParticleTreeRenderer.cpp+2−2
@@ -101,8 +101,8 @@ void ParticleTreeRenderer::renderElement(OctreeElement* element, RenderArgs* arg · 100 unmodified lines
101101 glm::vec3 scale(1.0f,1.0f,1.0f);
102102
103103 // TODO: There is some kind of a bug in packing of the particle packets which is causing modelscale to
104− // sometimes be garbage. We will temporarily make it always 1.0
105− float modelScale = 1.0f; /// particle.getModelScale()
104+ // sometimes be garbage.
105+ float modelScale = 2.0f; /// particle.getModelScale()
106106 model->setScale(scale * MODEL_SCALE * radius * modelScale);
107107
108108 model->simulate(0.0f);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t