Particle fountain: Difference between revisions
m
C++ - removed unnecessary variable
(Added C++ solution) |
m (C++ - removed unnecessary variable) |
||
Line 100:
int width_;
int height_;
std::vector<PointInfo> point_info_;
std::vector<SDL_Point> points_;
Line 113 ⟶ 112:
ParticleFountain::ParticleFountain(int n, int width, int height)
: width_(width), height_(height),
window_.reset(SDL_CreateWindow(
"C++ Particle System!", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED,
|