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

« back to all changes in this revision

Viewing changes to source/blender/blenlib/BLI_math_rotation.h

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2014-02-19 11:24:23 UTC
  • mfrom: (14.2.23 sid)
  • Revision ID: package-import@ubuntu.com-20140219112423-rkmaz2m7ha06d4tk
Tags: 2.69-3ubuntu1
* Merge with Debian; remaining changes:
  - Configure without OpenImageIO on armhf, as it is not available on
    Ubuntu.

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
float normalize_qt_qt(float q1[4], const float q2[4]);
67
67
 
68
68
/* comparison */
69
 
int is_zero_qt(float q[4]);
 
69
bool is_zero_qt(const float q[4]);
70
70
 
71
71
/* interpolation */
72
72
void interp_qt_qtqt(float q[4], const float a[4], const float b[4], const float t);
104
104
void mat3_to_axis_angle(float axis[3], float *angle, float M[3][3]);
105
105
void mat4_to_axis_angle(float axis[3], float *angle, float M[4][4]);
106
106
 
107
 
void single_axis_angle_to_mat3(float R[3][3], const char axis, const float angle);
 
107
void axis_angle_to_mat3_single(float R[3][3], const char axis, const float angle);
 
108
void      angle_to_mat2(float R[2][2], const float angle);
108
109
 
109
110
/******************************** XYZ Eulers *********************************/
110
111
 
163
164
        float scale_weight;
164
165
} DualQuat;
165
166
 
166
 
void copy_dq_dq(DualQuat *r, DualQuat *dq);
 
167
void copy_dq_dq(DualQuat *r, const DualQuat *dq);
167
168
void normalize_dq(DualQuat *dq, float totw);
168
 
void add_weighted_dq_dq(DualQuat *r, DualQuat *dq, float weight);
 
169
void add_weighted_dq_dq(DualQuat *r, const DualQuat *dq, float weight);
169
170
void mul_v3m3_dq(float r[3], float R[3][3], DualQuat *dq);
170
171
 
171
172
void mat4_to_dquat(DualQuat *r, float base[4][4], float M[4][4]);
172
 
void dquat_to_mat4(float R[4][4], DualQuat *dq);
 
173
void dquat_to_mat4(float R[4][4], const DualQuat *dq);
173
174
 
174
175
void quat_apply_track(float quat[4], short axis, short upflag);
175
176
void vec_apply_track(float vec[3], short axis);