diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-02-14 07:15:25 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-02-14 07:15:25 +0300 |
commit | 72bc3f22b7d01349eaa82b58f8b03a1a26b738ba (patch) | |
tree | 2ad1f687b487dea019aa0cb4e9cf885e6df06cd1 /source/blender/python/generic/mathutils_euler.h | |
parent | 54190dd8e5562cf5f964e6bb60be170c9063c616 (diff) |
python api renaming and added headers for some files which didnt have one, no functionality change.
Diffstat (limited to 'source/blender/python/generic/mathutils_euler.h')
-rw-r--r-- | source/blender/python/generic/mathutils_euler.h | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/source/blender/python/generic/mathutils_euler.h b/source/blender/python/generic/mathutils_euler.h deleted file mode 100644 index fc4e4ddb667..00000000000 --- a/source/blender/python/generic/mathutils_euler.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * $Id$ - * - * ***** BEGIN GPL LICENSE BLOCK ***** - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - * - * The Original Code is Copyright (C) 2001-2002 by NaN Holding BV. - * All rights reserved. - * - * The Original Code is: all of this file. - * - * Contributor(s): Joseph Gilbert - * - * ***** END GPL LICENSE BLOCK ***** - * - */ - -#ifndef MATHUTILS_EULER_H -#define MATHUTILS_EULER_H - -#include <Python.h> - -extern PyTypeObject euler_Type; -#define EulerObject_Check(_v) PyObject_TypeCheck((_v), &euler_Type) - -typedef struct { - BASE_MATH_MEMBERS(eul) - unsigned char order; /* rotation order */ - -} EulerObject; - -/*struct data contains a pointer to the actual data that the -object uses. It can use either PyMem allocated data (which will -be stored in py_data) or be a wrapper for data allocated through -blender (stored in blend_data). This is an either/or struct not both*/ - -//prototypes -PyObject *newEulerObject( float *eul, short order, int type, PyTypeObject *base_type); -PyObject *newEulerObject_cb(PyObject *cb_user, short order, int cb_type, int cb_subtype); - -short euler_order_from_string(const char *str, const char *error_prefix); - - -#endif /* MATHUTILS_EULER_H */ |