Skip to content

Commit

Permalink
remove member initializer
Browse files Browse the repository at this point in the history
  • Loading branch information
YosukeM committed May 17, 2015
1 parent 16a7cad commit 0cd9889
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion src/MeshControl.cpp
Expand Up @@ -10,7 +10,11 @@ namespace {
}

MeshControl::MeshControl(ofPtr<QuarterSphereMesh> mesh, ofPtr<CoordinateSystem> cs, ofPtr<std::vector<ofFbo> > fbos)
: mesh(mesh), coordinateSystem(cs), fbos(fbos)
: selectedPoint(NOT_SELECTED)
, isDragging(false)
, mesh(mesh)
, coordinateSystem(cs)
, fbos(fbos)
{
dividedMesh = mesh->createDivision();
gradation.reset(new QuarterSphereGradation(dividedMesh));
Expand Down
4 changes: 2 additions & 2 deletions src/MeshControl.h
Expand Up @@ -12,8 +12,8 @@ namespace ofxDome {
static const int NOT_SELECTED = -1;

private:
int selectedPoint = NOT_SELECTED;
bool isDragging = false;
int selectedPoint;
bool isDragging;

ofPtr<QuarterSphereMesh> mesh;
ofPtr<QuarterSphereMesh> dividedMesh;
Expand Down

0 comments on commit 0cd9889

Please sign in to comment.