diff options
author | Joseph Gilbert <ascotan@gmail.com> | 2004-02-29 16:20:34 +0300 |
---|---|---|
committer | Joseph Gilbert <ascotan@gmail.com> | 2004-02-29 16:20:34 +0300 |
commit | 8f3a9815baafb6f8fe00659cf6390a8c4092ef8b (patch) | |
tree | 9a69af7bffd6fd0d7da8e998d74a37dc273628a2 /source/blender/python/api2_2x/Types.h | |
parent | 2255ac3b19ec3b2aa0e884ad5960f34c9c0efa23 (diff) |
Mathutils library for the python API
- support for quaternions, euler, vector, matrix operations.
- euler supports unique rotation calculation
- new matrix memory construction and internal functions
- quaternion slerp and diff calculation
- 2d, 3d, 4d vector construction and handling
- full conversion support between types
- update to object/window to reflect to matrix type
- update to types/blender/module to reflect new module
Diffstat (limited to 'source/blender/python/api2_2x/Types.h')
-rw-r--r-- | source/blender/python/api2_2x/Types.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/python/api2_2x/Types.h b/source/blender/python/api2_2x/Types.h index ea098cfb3eb..595f04d0383 100644 --- a/source/blender/python/api2_2x/Types.h +++ b/source/blender/python/api2_2x/Types.h @@ -46,11 +46,9 @@ extern PyTypeObject Armature_Type, Bone_Type; extern PyTypeObject Curve_Type, Ipo_Type, Metaball_Type; extern PyTypeObject Lattice_Type; -extern PyTypeObject vector_Type, buffer_Type, rgbTuple_Type, +extern PyTypeObject buffer_Type, rgbTuple_Type, constant_Type, BezTriple_Type; -static char M_Types_doc[] = -"The Blender Types module\n\n\ -This module is a dictionary of all Blender Python types"; +extern PyTypeObject vector_Type, matrix_Type, euler_Type, quaternion_Type; #endif /* EXPP_TYPES_H */ |