Skip to content

Commit

Permalink
Particle size to be smaller
Browse files Browse the repository at this point in the history
  • Loading branch information
TheJosh committed Jan 9, 2013
1 parent 4c634c2 commit bf383b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/newparticle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ void create_particles_weapon(GameState * st, btVector3 * begin, btVector3 * end)

btVector3 velW = *end - *begin;
velW /= btScalar(375.f);
velW *= 5.0f;

int time_death = st->game_time + 375;

Expand Down
2 changes: 1 addition & 1 deletion src/render/render_opengl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1145,7 +1145,7 @@ void RenderOpenGL::particles()
{
glDisable(GL_TEXTURE_2D);
glDisable(GL_LIGHTING);
glPointSize(10.f);
glPointSize(5.f);
glBegin(GL_POINTS);
for (list<NewParticle*>::iterator it = this->st->particles.begin(); it != this->st->particles.end(); it++) {
glColor4f((*it)->r, (*it)->g, (*it)->b, 1.0f);
Expand Down

0 comments on commit bf383b0

Please sign in to comment.