~ubuntu-branches/ubuntu/utopic/blender/utopic-proposed

« back to all changes in this revision

Viewing changes to source/blender/python/mathutils/mathutils.h

  • Committer: Package Import Robot
  • Author(s): Matteo F. Vescovi
  • Date: 2012-04-28 12:11:12 UTC
  • mto: (14.1.6 experimental) (1.5.1)
  • mto: This revision was merged to the branch mainline in revision 34.
  • Revision ID: package-import@ubuntu.com-20120428121112-2zi0vp8b6vejda8i
Tags: upstream-2.63
ImportĀ upstreamĀ versionĀ 2.63

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
 
33
33
//Include this file for access to vector, quat, matrix, euler, etc...
34
34
 
35
 
#ifndef MATHUTILS_H
36
 
#define MATHUTILS_H
 
35
#ifndef __MATHUTILS_H__
 
36
#define __MATHUTILS_H__
37
37
 
38
38
/* Can cast different mathutils types to this, use for generic funcs */
39
39
 
67
67
#include "mathutils_geometry.h"
68
68
#include "mathutils_noise.h"
69
69
 
70
 
PyObject *BaseMathObject_owner_get( BaseMathObject * self, void * );
71
 
PyObject *BaseMathObject_is_wrapped_get( BaseMathObject *self, void * );
 
70
PyObject *BaseMathObject_owner_get(BaseMathObject * self, void *);
 
71
PyObject *BaseMathObject_is_wrapped_get(BaseMathObject *self, void *);
72
72
 
73
73
int BaseMathObject_traverse(BaseMathObject *self, visitproc visit, void *arg);
74
74
int BaseMathObject_clear(BaseMathObject *self);
98
98
        BaseMathSetIndexFunc    set_index;
99
99
};
100
100
 
101
 
int Mathutils_RegisterCallback(Mathutils_Callback *cb);
 
101
unsigned char Mathutils_RegisterCallback(Mathutils_Callback *cb);
102
102
 
103
103
int _BaseMathObject_ReadCallback(BaseMathObject *self);
104
104
int _BaseMathObject_WriteCallback(BaseMathObject *self);
118
118
/* utility func */
119
119
int mathutils_array_parse(float *array, int array_min, int array_max, PyObject *value, const char *error_prefix);
120
120
int mathutils_array_parse_alloc(float **array, int array_min, PyObject *value, const char *error_prefix);
 
121
int mathutils_array_parse_alloc_v(float **array, int array_dim, PyObject *value, const char *error_prefix);
121
122
int mathutils_any_to_rotmat(float rmat[3][3], PyObject *value, const char *error_prefix);
122
123
 
123
124
int column_vector_multiplication(float rvec[4], VectorObject *vec, MatrixObject *mat);
124
125
 
125
126
/* dynstr as python string utility funcions */
126
127
PyObject *mathutils_dynstr_to_py(struct DynStr *ds);
 
128
int mathutils_deepcopy_args_check(PyObject *args);
127
129
 
128
 
#endif /* MATHUTILS_H */
 
130
#endif /* __MATHUTILS_H__ */