summaryrefslogtreecommitdiff
path: root/scene/3d/skeleton_3d.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-08-09 21:01:29 +0200
committerGitHub <noreply@github.com>2021-08-09 21:01:29 +0200
commitdc20830348f2c6ed521c2303765b4ea6ea317288 (patch)
tree0deffb28f06263157174b7c294209f1ff0e18b99 /scene/3d/skeleton_3d.h
parent511f9619736f47946f3d0613bc2642cf2b47beac (diff)
parent7cec3c2b95cef1274ffcc7f4e044ae86fb965f00 (diff)
Merge pull request #45568 from aaronfranke/node3d-real_t
Use real_t in 3D nodes
Diffstat (limited to 'scene/3d/skeleton_3d.h')
-rw-r--r--scene/3d/skeleton_3d.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/3d/skeleton_3d.h b/scene/3d/skeleton_3d.h
index 2f6e416c8c..3fdf5321a5 100644
--- a/scene/3d/skeleton_3d.h
+++ b/scene/3d/skeleton_3d.h
@@ -85,7 +85,7 @@ private:
bool custom_pose_enable = false;
Transform3D custom_pose;
- float global_pose_override_amount = 0.0;
+ real_t global_pose_override_amount = 0.0;
bool global_pose_override_reset = false;
Transform3D global_pose_override;
@@ -147,7 +147,7 @@ public:
Transform3D get_bone_global_pose_no_override(int p_bone) const;
void clear_bones_global_pose_override();
- void set_bone_global_pose_override(int p_bone, const Transform3D &p_pose, float p_amount, bool p_persistent = false);
+ void set_bone_global_pose_override(int p_bone, const Transform3D &p_pose, real_t p_amount, bool p_persistent = false);
void set_bone_enabled(int p_bone, bool p_enabled);
bool is_bone_enabled(int p_bone) const;