MCPcopy Create free account
hub / github.com/ImageEngine/cortex / endPointMultiplicity

Function endPointMultiplicity

src/IECore/Ramp.cpp:203–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201}
202
203int 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
217std::pair< size_t, size_t > getOSLEndPointDuplication( IECore::RampInterpolation interpolation )
218{

Callers 1

evaluatorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected