Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2005-08-27 16:48:45 +0400
committerTon Roosendaal <ton@blender.org>2005-08-27 16:48:45 +0400
commitac619bace6fe1bd3e330cc11f968f38f5fdac3d1 (patch)
treec3d0454b7cadc4e0fb6ff9c53abc4eb86e507211 /source/blender/blenkernel/BKE_armature.h
parenta7f2ebf06c857482a20f1e73f17f7b38a3013756 (diff)
Third and last commit for Brecht's IK work.
Full logs for changes will be added later. Worth to note now; - support for 'tree IK' added - DOF and stiffness per IK bone (in pose only) - Orientation IK support (target rotates -> chain follows) This is still WIP. Buttons might change, button ranges will change, and the way 'IK groups' are working will change. You can play with this, but don't expect saved files to work still by end of this day! :)
Diffstat (limited to 'source/blender/blenkernel/BKE_armature.h')
-rw-r--r--source/blender/blenkernel/BKE_armature.h18
1 files changed, 11 insertions, 7 deletions
diff --git a/source/blender/blenkernel/BKE_armature.h b/source/blender/blenkernel/BKE_armature.h
index d177edfce09..84d87b28037 100644
--- a/source/blender/blenkernel/BKE_armature.h
+++ b/source/blender/blenkernel/BKE_armature.h
@@ -46,19 +46,23 @@ struct Mesh;
struct PoseChain;
struct ListBase;
+typedef struct PoseTarget
+{
+ struct PoseTarget *next, *prev;
+ struct bConstraint *con;
+ int tip;
+} PoseTarget;
+
typedef struct PoseChain
{
struct PoseChain *next, *prev; // hurms
struct bPoseChannel **pchanchain;
- struct bConstraint *con;
- struct Bone *root, *target;
- struct bPose *pose;
- int totchannel;
- float goal[3];
+ struct ListBase targets;
+ int totchannel;
+ float (*basis_change)[3][3];
+ char group[32];
float tolerance;
int iterations;
- float goalinv[4][4];
- struct IK_Chain_Extern *solver;
} PoseChain;
/* Core armature functionality */