| 201 | } |
| 202 | |
| 203 | int endPointMultiplicity( IECore::RampInterpolation interpolation ) |
| 204 | { |
| 205 | int multiplicity = 1; |
| 206 | if( interpolation == IECore::RampInterpolation::CatmullRom ) |
| 207 | { |
| 208 | multiplicity = 2; |
| 209 | } |
| 210 | else if( interpolation == IECore::RampInterpolation::BSpline ) |
| 211 | { |
| 212 | multiplicity = 3; |
| 213 | } |
| 214 | return multiplicity; |
| 215 | } |
| 216 | |
| 217 | std::pair< size_t, size_t > getOSLEndPointDuplication( IECore::RampInterpolation interpolation ) |
| 218 | { |