~ubuntu-branches/ubuntu/gutsy/blender/gutsy-security

« back to all changes in this revision

Viewing changes to source/blender/python/api2_2x/euler.h

  • Committer: Bazaar Package Importer
  • Author(s): Florian Ernst
  • Date: 2005-11-06 12:40:03 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051106124003-3pgs7tcg5rox96xg
Tags: 2.37a-1.1
* Non-maintainer upload.
* Split out parts of 01_SConstruct_debian.dpatch again: root_build_dir
  really needs to get adjusted before the clean target runs - closes: #333958,
  see #288882 for reference

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* * ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
 
1
 
 
2
/* 
 
3
 * $Id: euler.h,v 1.4 2005/05/22 17:40:00 stiv Exp $
 
4
 *
 
5
 * ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
2
6
 *
3
7
 * This program is free software; you can redistribute it and/or
4
8
 * modify it under the terms of the GNU General Public License
50
54
#define EulerObject_Check(v) ((v)->ob_type == &euler_Type)
51
55
 
52
56
typedef struct {
53
 
        PyObject_VAR_HEAD
54
 
        float * eul;
 
57
        PyObject_VAR_HEAD float *eul;
55
58
} EulerObject;
56
59
 
57
60
//prototypes
58
 
PyObject *newEulerObject(float *eul);
59
 
PyObject *Euler_Zero(EulerObject *self);
60
 
PyObject *Euler_Unique(EulerObject *self);
61
 
PyObject *Euler_ToMatrix(EulerObject *self);
62
 
PyObject *Euler_ToQuat(EulerObject *self);
63
 
 
64
 
#endif /* EXPP_euler_h */
65
 
 
 
61
PyObject *newEulerObject( float *eul );
 
62
PyObject *Euler_Zero( EulerObject * self );
 
63
PyObject *Euler_Unique( EulerObject * self );
 
64
PyObject *Euler_ToMatrix( EulerObject * self );
 
65
PyObject *Euler_ToQuat( EulerObject * self );
 
66
 
 
67
#endif                          /* EXPP_euler_h */