Skip to content

Commit a3db77a

Browse files
author
Haydelj
committed
removed comments and fixed initilization list order
1 parent cbe31e9 commit a3db77a

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/Externals/spire/arc-ball/ArcBall.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ namespace spire {
44

55
//------------------------------------------------------------------------------
66
ArcBall::ArcBall(const glm::vec3& center, glm::float_t radius, const glm::mat4& screenToTCS) :
7+
mScreenToTCS(screenToTCS),
78
mCenter(center),
8-
mRadius(radius),
9-
mScreenToTCS(screenToTCS)
9+
mRadius(radius)
1010
{
1111
// glm uses the following format for quaternions: w,x,y,z.
1212
// w, x, y, z

src/Graphics/Glyphs/GlyphGeom.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,6 @@ void GlyphGeom::addArrow(const Point& p1, const Point& p2, double radius, double
212212

213213
generateCylinder(p1, mid, radius / 6.0, radius / 6.0, resolution, color1, color2);
214214
generateCone(mid, p2, radius, resolution, false, color1, color2);
215-
//generateCylinder(mid, p2, radius, 0.0, resolution, color1, color2);
216215
}
217216

218217
void GlyphGeom::addSphere(const Point& p, double radius, int resolution, const ColorRGB& color)
@@ -397,7 +396,6 @@ void GlyphGeom::generateCone(const Point& p1, const Point& p2, double radius,
397396
indices_.push_back(strips + points_per_loop + 2);
398397
}
399398
}
400-
// for (int jj = 0; jj < 6; jj++) indices_.pop_back();
401399
}
402400

403401
void GlyphGeom::generateDisk(const Point& p1, const Point& p2, double radius1,

0 commit comments

Comments
 (0)