diff options
author | Stephen Swaney <sswaney@centurytel.net> | 2004-09-26 00:30:40 +0400 |
---|---|---|
committer | Stephen Swaney <sswaney@centurytel.net> | 2004-09-26 00:30:40 +0400 |
commit | a509b8adc9b8952cdb395c69406e821f57a9a6c7 (patch) | |
tree | 7c0e3c7b81007acc6b3e268e59a6af5fcb4bd93f /source/blender/python/api2_2x/quat.h | |
parent | bd371ddb9ff947d4e598ad04af9402d89fa80d5e (diff) |
Another round in the Great BPy Cleanup:
Run everything thru indent to cleanup spaces vs tabs.
Clean up some of the comments by hand.
BGL.c was not touched due to all that macro wackyness.
There are no functional changes to the code.
Pre-indent versions of source are tagged with
tag bpy-cleanup-20040925 , just in case.
Diffstat (limited to 'source/blender/python/api2_2x/quat.h')
-rw-r--r-- | source/blender/python/api2_2x/quat.h | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/source/blender/python/api2_2x/quat.h b/source/blender/python/api2_2x/quat.h index 586c8beba3e..a04e0ee7c37 100644 --- a/source/blender/python/api2_2x/quat.h +++ b/source/blender/python/api2_2x/quat.h @@ -1,4 +1,5 @@ /* + * $Id$ * * ***** BEGIN GPL/BL DUAL LICENSE BLOCK ***** * @@ -51,24 +52,22 @@ #define QuaternionObject_Check(v) ((v)->ob_type == &quaternion_Type) typedef struct { - PyObject_VAR_HEAD - float * quat; + PyObject_VAR_HEAD float *quat; int flag; - //0 - no coercion - //1 - coerced from int - //2 - coerced from float + //0 - no coercion + //1 - coerced from int + //2 - coerced from float } QuaternionObject; //prototypes -PyObject *newQuaternionObject(float *quat); -PyObject *Quaternion_Identity(QuaternionObject *self); -PyObject *Quaternion_Negate(QuaternionObject *self); -PyObject *Quaternion_Conjugate(QuaternionObject *self); -PyObject *Quaternion_Inverse(QuaternionObject *self); -PyObject *Quaternion_Normalize(QuaternionObject *self); -PyObject *Quaternion_ToEuler(QuaternionObject *self); -PyObject *Quaternion_ToMatrix(QuaternionObject *self); - -#endif /* EXPP_quat_h */ +PyObject *newQuaternionObject( float *quat ); +PyObject *Quaternion_Identity( QuaternionObject * self ); +PyObject *Quaternion_Negate( QuaternionObject * self ); +PyObject *Quaternion_Conjugate( QuaternionObject * self ); +PyObject *Quaternion_Inverse( QuaternionObject * self ); +PyObject *Quaternion_Normalize( QuaternionObject * self ); +PyObject *Quaternion_ToEuler( QuaternionObject * self ); +PyObject *Quaternion_ToMatrix( QuaternionObject * self ); +#endif /* EXPP_quat_h */ |