Changeset 39:a651fce8402e in rrlib_geometry


Ignore:
Timestamp:
23.04.2012 17:04:35 (8 years ago)
Author:
Patrick Fleischmann <fleischmann@…>
Branch:
default
Phase:
public
Message:

Bug in stream operator fixed (end point was left out)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • curves/tBezierCurve.hpp

    r29 r39  
    420420  if (bezier_curve.GetTwist() < 1E-6) 
    421421  { 
    422     canvas.DrawLineSegment(bezier_curve.ControlPoints()[0], bezier_curve.ControlPoints()[Tdegree - 1]); 
     422    canvas.DrawLineSegment(bezier_curve.ControlPoints()[0], bezier_curve.ControlPoints()[Tdegree]); 
    423423    return canvas; 
    424424  } 
Note: See TracChangeset for help on using the changeset viewer.