Browse Source

fixed typos

Darren Ranalli 23 năm trước cách đây
mục cha
commit
e2f8ed6c4b

+ 1 - 1
panda/src/parametrics/parametricCurve.cxx

@@ -202,7 +202,7 @@ calc_length() const {
 //     Function: ParametricCurve::calc_length
 //       Access: Published
 //  Description: Approximates the length of the curve segment from
-//               parametric time from to time to.
+//               parametric time 'from' to time 'to'.
 ////////////////////////////////////////////////////////////////////
 float ParametricCurve::
 calc_length(float from, float to) const {

+ 1 - 1
panda/src/parametrics/parametricCurveCollection.cxx

@@ -311,7 +311,7 @@ get_timewarp_curve(int n) const {
 //               a new timewarp curve that maps distance along the
 //               curve to parametric time, so that the distance
 //               between any two points in parametric time is
-//               proprotional to the approximate distance of those
+//               proportional to the approximate distance of those
 //               same two points along the XYZ curve.
 //
 //               segments_per_unit represents the number of segments to