MCPcopy Create free account
hub / github.com/dalboris/vpaint / temporalDragMinTime

Method temporalDragMinTime

src/Gui/VectorAnimationComplex/KeyCell.cpp:45–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45Time KeyCell::temporalDragMinTime() const
46{
47 //Time res(std::numeric_limits<int>::min()); // Caution: can overflow if compute deltas
48 Time res(-1000); // TODO
49
50 InbetweenCellSet beforeStar = temporalStarBefore();
51 foreach(InbetweenCell * scell, beforeStar)
52 {
53 Time t = scell->beforeTime();
54 if(res < t)
55 res = t;
56 }
57
58 return res;
59}
60
61Time KeyCell::temporalDragMaxTime() const
62{

Callers 1

foreachFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected