~ubuntu-branches/ubuntu/trusty/blender/trusty

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2013-03-06 12:08:47 UTC
  • mfrom: (1.5.1) (14.1.8 experimental)
  • Revision ID: package-import@ubuntu.com-20130306120847-frjfaryb2zrotwcg
Tags: 2.66a-1ubuntu1
* Resynchronize with Debian (LP: #1076930, #1089256, #1052743, #999024,
  #1122888, #1147084)
* debian/control:
  - Lower build-depends on libavcodec-dev since we're not
    doing the libav9 transition in Ubuntu yet

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* 
2
 
 *
 
1
/*
3
2
 * ***** BEGIN GPL LICENSE BLOCK *****
4
3
 *
5
4
 * This program is free software; you can redistribute it and/or
27
26
 *
28
27
 */
29
28
 
 
29
#ifndef __MATHUTILS_EULER_H__
 
30
#define __MATHUTILS_EULER_H__
 
31
 
30
32
/** \file blender/python/mathutils/mathutils_Euler.h
31
33
 *  \ingroup pymathutils
32
34
 */
33
35
 
34
 
 
35
 
#ifndef __MATHUTILS_EULER_H__
36
 
#define __MATHUTILS_EULER_H__
37
 
 
38
36
extern PyTypeObject euler_Type;
39
37
#define EulerObject_Check(_v) PyObject_TypeCheck((_v), &euler_Type)
40
38
 
49
47
 * be stored in py_data) or be a wrapper for data allocated through
50
48
 * blender (stored in blend_data). This is an either/or struct not both */
51
49
 
52
 
//prototypes
53
 
PyObject *Euler_CreatePyObject(float *eul, short order, int type, PyTypeObject *base_type);
54
 
PyObject *Euler_CreatePyObject_cb(PyObject *cb_user, short order,
 
50
/* prototypes */
 
51
PyObject *Euler_CreatePyObject(float *eul, const short order, int type, PyTypeObject *base_type);
 
52
PyObject *Euler_CreatePyObject_cb(PyObject *cb_user, const short order,
55
53
                                  unsigned char cb_type, unsigned char cb_subtype);
56
54
 
57
55
short euler_order_from_string(const char *str, const char *error_prefix);