Files Classes Functions Hierarchy
#include <particledisp.h>
Public Member Functions | |
| particledisp (GLUquadric *const quadric_, int const slices_, int const loops_) | |
| void | draw (particle const &x) const |
Definition at line 12 of file particledisp.h.
| particledisp::particledisp | ( | GLUquadric *const | quadric_, | |
| int const | slices_, | |||
| int const | loops_ | |||
| ) |
| void particledisp::draw | ( | particle const & | x | ) | const |
Definition at line 14 of file particledisp.cpp.
References particle::pos, and particle::radius.
Referenced by integration< D, F >::draw().
00015 { 00016 glPushMatrix(); 00017 glTranslatef(x.pos[0],x.pos[1],0.0); 00018 glPushMatrix(); 00019 gluDisk(quadric, 0.0, x.radius, slices, loops); 00020 glPopMatrix(); 00021 glPopMatrix(); 00022 }
1.5.8