diff options
author | Martin Poirier <theeth@yahoo.com> | 2008-12-29 04:41:28 +0300 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2008-12-29 04:41:28 +0300 |
commit | b6b61681efd322bd800bcaba55099cdf147547b2 (patch) | |
tree | bf745c0c58ee608ac8c3c53aa97a14932fc9135f /source/blender/blenlib/intern | |
parent | 97a82102d4d24a94d8360a6f5f054e44f6fb1993 (diff) |
2.5
Transform:
First working port of the transform code:
- Object mode only (other conversions need to be ported)
- Contraints (global and local only) working
- Snap (no edit mode, obviously) working
- Numinput working
- Gears (Ctrl and Shift) working
- Only grap, rotate, scale, shear, warp and to sphere have been added as hotkey, but the rest should work too once accessible
- No manipulator
- No drawn feedback other than moving stuff and header print (no constraint line, snap circle, ...)
- No NDOF support
I've only tested Scons support, though Makefil *should* work, I *think*.
Misc:
-QuatIsNull function in arith
-Exporting project_* and view[line|ray] functions from view3d
Diffstat (limited to 'source/blender/blenlib/intern')
-rw-r--r-- | source/blender/blenlib/intern/arithb.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenlib/intern/arithb.c b/source/blender/blenlib/intern/arithb.c index a47d37eb69a..4d555a009c5 100644 --- a/source/blender/blenlib/intern/arithb.c +++ b/source/blender/blenlib/intern/arithb.c @@ -1087,6 +1087,10 @@ void printmatrix3( char *str, float m[][3]) /* **************** QUATERNIONS ********** */ +int QuatIsNul(float *q) +{ + return (q[0] == 0 && q[1] == 0 && q[2] == 0 && q[3] == 0); +} void QuatMul(float *q, float *q1, float *q2) { |