From ee44d3042ff5f844c1b7a98b5bd95d11a02a2b4f Mon Sep 17 00:00:00 2001 From: david Date: Tue, 26 Mar 2002 03:14:20 +0000 Subject: [PATCH] I missed committing this one. --- src/Main/model.hxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Main/model.hxx b/src/Main/model.hxx index ac23895c5..8054a908b 100644 --- a/src/Main/model.hxx +++ b/src/Main/model.hxx @@ -36,6 +36,8 @@ private: struct Animation { + Animation (); + virtual ~Animation (); enum Type { None, Spin, @@ -58,8 +60,9 @@ private: void setRotation (); }; - Animation read_animation (const string &object_name, - const SGPropertyNode * node); + void read_animation (Animation &animation, + const string &object_name, + const SGPropertyNode * node); void do_animation (Animation &animation, long elapsed_ms); ssgEntity * _model; -- 2.39.5