Commit cdf4e1ed authored by Isaak Lim's avatar Isaak Lim
Browse files

fixed a style error

refs #285

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@13516 383ad7c9-94d9-4d36-a494-682f7c89f535
parent dd43f7c4
...@@ -652,13 +652,13 @@ pick_spline( GLState& _state, unsigned int _offset ) ...@@ -652,13 +652,13 @@ pick_spline( GLState& _state, unsigned int _offset )
template <class BSplineCurve> template <class BSplineCurve>
void void
BSplineCurveNodeT<BSplineCurve>:: BSplineCurveNodeT<BSplineCurve>::
draw_sphere( const Point& _p0, double _r, GLState& _state, GLSphere* sphere) draw_sphere( const Point& _p0, double _r, GLState& _state, GLSphere* _sphere)
{ {
// draw 3d sphere // draw 3d sphere
_state.push_modelview_matrix(); _state.push_modelview_matrix();
_state.translate( _p0[0], _p0[1], _p0[2]); _state.translate( _p0[0], _p0[1], _p0[2]);
sphere->draw(_state,_r); _sphere->draw(_state,_r);
_state.pop_modelview_matrix(); _state.pop_modelview_matrix();
} }
......
...@@ -190,7 +190,7 @@ private: ...@@ -190,7 +190,7 @@ private:
void pick_spline( GLState& _state, unsigned int _offset ); void pick_spline( GLState& _state, unsigned int _offset );
void draw_cylinder( const Point& _p0, const Point& _axis, double _r, GLState& _state); void draw_cylinder( const Point& _p0, const Point& _axis, double _r, GLState& _state);
void draw_sphere ( const Point& _p0, double _r, GLState& _state, GLSphere* sphere); void draw_sphere ( const Point& _p0, double _r, GLState& _state, GLSphere* _sphere);
/// Copy constructor (not used) /// Copy constructor (not used)
BSplineCurveNodeT(const BSplineCurveNodeT& _rhs); BSplineCurveNodeT(const BSplineCurveNodeT& _rhs);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment