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

Method framesToTicks

src/IECore/OversamplesCalculator.cpp:78–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78int OversamplesCalculator::framesToTicks( float f ) const
79{
80 return ( int )( f * m_ticksPerSecond / m_frameRate );
81}
82
83float OversamplesCalculator::ticksToFrames( int i ) const
84{

Callers 1

testMethod · 0.95

Calls

no outgoing calls

Tested by 1

testMethod · 0.76