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

Method assemble

samples/_timeline/PaletteBrowser/src/Swatch.cpp:54–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54void Swatch::assemble( Timeline &timeline )
55{
56 float dur = 0.2f;
57// mPos = mAnchorPos + vec2( 15.0f, 0.0f );
58 timeline.apply( &mPos, mAnchorPos, dur, EaseOutAtan( 10 ) ).finishFn( bind( &Swatch::setDeselected, this ) );
59 timeline.apply( &mScale, 1.0f, dur, EaseOutAtan( 10 ) );
60}
61
62void Swatch::draw() const
63{

Callers 2

deselectMethod · 0.80
foundation.min.jsFile · 0.80

Calls 3

EaseOutAtanClass · 0.85
bindFunction · 0.50
applyMethod · 0.45

Tested by

no test coverage detected