Continue cleaning.

This commit is contained in:
jmsgrogan 2023-01-13 14:29:12 +00:00
parent cd688f608f
commit cb4212d972
67 changed files with 367 additions and 282 deletions

View file

@ -41,7 +41,8 @@ void BlochSphereNode::update(SceneInfo* sceneInfo)
mOuterCircle = std::make_unique<CircleNode>(loc, mSize/2.0);
const auto end_point_x = Point(loc.getX() + 1.2 * mSize / 2.0, loc.getY());
mXAxis = std::make_unique<LineNode>(loc, { end_point_x });
const std::vector<Point> points{end_point_x };
mXAxis = std::make_unique<LineNode>(loc, points);
mCentreCircle = std::make_unique<CircleNode>(loc, mSize / 50.0);
mCentreCircle->setFillColor(Color(0, 0, 0));
@ -49,5 +50,6 @@ void BlochSphereNode::update(SceneInfo* sceneInfo)
addChild(mInnerCircle.get());
addChild(mOuterCircle.get());
addChild(mXAxis.get());
addChild(mCentreCircle.get());
}