/[hegemonie]/hegemonie/Headers/Common/Quaternion.h
ViewVC logotype

Diff of /hegemonie/Headers/Common/Quaternion.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by dam, Fri Jul 25 21:04:43 2003 UTC revision 1.3 by dam, Fri Aug 22 08:04:40 2003 UTC
# Line 34  typedef float Matrix[4*4]; Line 34  typedef float Matrix[4*4];
34    float  _x, _y, _z, _w;    float  _x, _y, _z, _w;
35  }  }
36    
37    + (id) quaternionWithValuesX: (float)x
38                               Y: (float)y
39                               Z: (float)z
40                               W: (float)w;
41    + (id) quaternionWithRotation: (Matrix)rotation;
42    
43  - (id) initWithValuesX: (float)x  - (id) initWithValuesX: (float)x
44                       Y: (float)y                       Y: (float)y
45                       Z: (float)z                       Z: (float)z
# Line 41  typedef float Matrix[4*4]; Line 47  typedef float Matrix[4*4];
47  - (id) initWithRotation: (Matrix)rotation;  - (id) initWithRotation: (Matrix)rotation;
48    
49  - (void) convertToRotation: (Matrix)rotation;  - (void) convertToRotation: (Matrix)rotation;
50    
51    - (float) x;
52    - (float) y;
53    - (float) z;
54    - (float) w;
55    
56  - (void)   slerp: (Quaternion *)q1  - (void)   slerp: (Quaternion *)q1
57              with: (Quaternion *)q2              with: (Quaternion *)q2
58     accordingTime: (float)t;     accordingTime: (float)t;

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26