summaryrefslogtreecommitdiff
path: root/scene/animation/animation_tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/animation/animation_tree.h')
-rw-r--r--scene/animation/animation_tree.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/animation/animation_tree.h b/scene/animation/animation_tree.h
index 60e0c7200a..19214c6a82 100644
--- a/scene/animation/animation_tree.h
+++ b/scene/animation/animation_tree.h
@@ -63,8 +63,8 @@ public:
struct AnimationState {
Ref<Animation> animation;
- float time = 0.0;
- float delta = 0.0;
+ double time = 0.0;
+ double delta = 0.0;
const Vector<float> *track_blends = nullptr;
float blend = 0.0;
bool seeked = false;
@@ -126,7 +126,7 @@ public:
virtual void get_child_nodes(List<ChildNode> *r_child_nodes);
- virtual float process(float p_time, bool p_seek);
+ virtual double process(double p_time, bool p_seek);
virtual String get_caption() const;
int get_input_count() const;