diff options
| author | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2021-01-20 07:02:02 +0000 |
|---|---|---|
| committer | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2021-06-04 18:14:32 +0100 |
| commit | 8acd13a456050ded00f0f264ff0aa91a304f6c54 (patch) | |
| tree | 1cfac709a27ff9e08302269dfaf41ae4edd5e142 /scene/animation/animation_cache.cpp | |
| parent | 766c6dbb24c736eb1e24ca69eb15398eac654c2c (diff) | |
| download | redot-engine-8acd13a456050ded00f0f264ff0aa91a304f6c54.tar.gz | |
Rename Quat to Quaternion
Diffstat (limited to 'scene/animation/animation_cache.cpp')
| -rw-r--r-- | scene/animation/animation_cache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/animation/animation_cache.cpp b/scene/animation/animation_cache.cpp index 9b0414c688..b8980fd56b 100644 --- a/scene/animation/animation_cache.cpp +++ b/scene/animation/animation_cache.cpp @@ -236,7 +236,7 @@ void AnimationCache::set_all(float p_time, float p_delta) { switch (animation->track_get_type(i)) { case Animation::TYPE_TRANSFORM3D: { Vector3 loc, scale; - Quat rot; + Quaternion rot; animation->transform_track_interpolate(i, p_time, &loc, &rot, &scale); Transform3D tr(Basis(rot), loc); tr.basis.scale(scale); |
