Changeset 42823 for trunk/psLib/src/math/psSpline.h
- Timestamp:
- May 8, 2025, 4:45:44 PM (12 months ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psSpline.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psSpline.h
r42336 r42823 36 36 { 37 37 unsigned int n; ///< The number of knots 38 psF32 *xKnots; ///< x-coordinate of the knots39 psF32 *yKnots; ///< y-coordinate of the knots40 psF32 *d2yKnots; ///< 2nd derivative of y at the knots41 bool equalSpacing; // if knots are equally spaced, the seqment choice can be optimized42 psF32 xMin; //for equally-spaced knots, the value at the lower bound (xKnots[0])43 psF32 xMax; //for equally-spaced knots, the value at the upper bound (xKnots[n])44 psF32 xDel; //for equally-spaced knots, the spacing (xKnots[n] - xKnots[0])/n38 psF32 *xKnots; ///< x-coordinate of the knots 39 psF32 *yKnots; ///< y-coordinate of the knots 40 psF32 *d2yKnots; ///< 2nd derivative of y at the knots 41 bool equalSpacing; ///< if knots are equally spaced, the seqment choice can be optimized 42 psF32 xMin; ///< for equally-spaced knots, the value at the lower bound (xKnots[0]) 43 psF32 xMax; ///< for equally-spaced knots, the value at the upper bound (xKnots[n]) 44 psF32 xDel; ///< for equally-spaced knots, the spacing (xKnots[n] - xKnots[0])/n 45 45 } 46 46 psSpline1D;
Note:
See TracChangeset
for help on using the changeset viewer.
