dxrubynd 1.4.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,30 @@
1
+ /* �s�� */
2
+ struct DXRubyMatrix {
3
+ int x;
4
+ int y;
5
+ union {
6
+ struct {
7
+ float m11;float m12; float m13; float m14;
8
+ float m21;float m22; float m23; float m24;
9
+ float m31;float m32; float m33; float m34;
10
+ float m41;float m42; float m43; float m44;
11
+ };
12
+ float m[4][4];
13
+ };
14
+ };
15
+
16
+ /* �x�N�g�� */
17
+ struct DXRubyVector {
18
+ int x;
19
+ union {
20
+ struct {
21
+ float v1;float v2; float v3; float v4;
22
+ };
23
+ float v[4];
24
+ };
25
+ };
26
+
27
+ void Init_dxruby_Matrix(void);
28
+ VALUE Vector_allocate( VALUE klass );
29
+ void Matrix_release( struct DXRubyMatrix* mat );
30
+ void Vector_release( struct DXRubyVector* vec );