summaryrefslogtreecommitdiffstats
path: root/scene/3d/skeleton.h
diff options
context:
space:
mode:
authorAndreaCatania <info@andreacatania.com>2017-10-03 18:49:32 +0200
committerAndrea Catania <info@andreacatania.com>2018-08-04 11:25:07 +0200
commitb7e66188df12503e0d8559c4e08386c0d98c06ce (patch)
treeaea0861a72a96c8281d1d6ed4fef7eff138f3118 /scene/3d/skeleton.h
parent6c569c90b666c7fb773eca3948fc76ba7a160a27 (diff)
downloadredot-engine-b7e66188df12503e0d8559c4e08386c0d98c06ce.tar.gz
Implemented IK
Diffstat (limited to 'scene/3d/skeleton.h')
-rw-r--r--scene/3d/skeleton.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/scene/3d/skeleton.h b/scene/3d/skeleton.h
index 9672acb57a..a8413ebaf2 100644
--- a/scene/3d/skeleton.h
+++ b/scene/3d/skeleton.h
@@ -39,6 +39,8 @@
*/
#ifndef _3D_DISABLED
+typedef int BoneId;
+
class PhysicalBone;
#endif // _3D_DISABLED
@@ -96,7 +98,7 @@ class Skeleton : public Spatial {
void _make_dirty();
bool dirty;
- //bind helpers
+ // bind helpers
Array _get_bound_child_nodes_to_bone(int p_bone) const {
Array bound;