MCPcopy Create free account
hub / github.com/cinder/Cinder / startTweening

Method startTweening

samples/_timeline/BasicAppendTween/src/BasicAppendTweenApp.cpp:52–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52void BasicAppendTweenApp::startTweening()
53{
54 timeline().apply( &mPos, (vec2)mDestinations[0], 0.5f, EaseInOutQuad() );
55 for( int i=1; i<mNumDestinations; i++ ){
56 timeline().appendTo( &mPos, (vec2)mDestinations[i], 0.5f, EaseInOutQuad() );
57 }
58}
59
60
61void BasicAppendTweenApp::draw()

Callers

nothing calls this directly

Calls 3

EaseInOutQuadClass · 0.85
appendToMethod · 0.80
applyMethod · 0.45

Tested by

no test coverage detected