|
Revision 13041, 1.3 kB
(checked in by robert, 14 months ago)
|
|
Ran script to remove trailing spaces and tabs
|
-
Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 | |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | |
|---|
| 9 | |
|---|
| 10 | |
|---|
| 11 | |
|---|
| 12 | |
|---|
| 13 | |
|---|
| 14 | |
|---|
| 15 | #include <osgAnimation/Timeline> |
|---|
| 16 | #include <osgAnimation/TimelineAnimationManager> |
|---|
| 17 | |
|---|
| 18 | using namespace osgAnimation; |
|---|
| 19 | |
|---|
| 20 | TimelineAnimationManager::TimelineAnimationManager() |
|---|
| 21 | { |
|---|
| 22 | _timeline = new Timeline; |
|---|
| 23 | } |
|---|
| 24 | |
|---|
| 25 | TimelineAnimationManager::TimelineAnimationManager(const AnimationManagerBase& manager) : AnimationManagerBase(manager) |
|---|
| 26 | { |
|---|
| 27 | _timeline = new Timeline; |
|---|
| 28 | } |
|---|
| 29 | |
|---|
| 30 | TimelineAnimationManager::TimelineAnimationManager(const TimelineAnimationManager& nc,const osg::CopyOp& co) : AnimationManagerBase(nc, co) |
|---|
| 31 | { |
|---|
| 32 | _timeline = new Timeline(*nc.getTimeline()); |
|---|
| 33 | } |
|---|
| 34 | |
|---|
| 35 | void TimelineAnimationManager::update(double time) |
|---|
| 36 | { |
|---|
| 37 | |
|---|
| 38 | _timeline->setAnimationManager(this); |
|---|
| 39 | _timeline->update(time); |
|---|
| 40 | } |
|---|