Subversion Repositories FlightCtrl

Rev

Rev 1994 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1994 Rev 1995
Line 1... Line 1...
1
#ifndef _VECTOR_H
1
#ifndef _VECTOR_H
2
#define _VECTOR_H
2
#define _VECTOR_H
3
 
3
 
4
typedef struct
4
typedef struct
5
{
5
{
6
        int32_t x;
6
        int32_t x;
7
        int32_t y;
7
        int32_t y;
8
        int32_t z;
8
        int32_t z;
9
} __attribute__((packed)) vector32_t;
9
} __attribute__((packed)) vector32_t;
10
 
10
 
11
typedef struct
11
typedef struct
12
{
12
{
13
        int16_t x;
13
        int16_t x;
14
        int16_t y;
14
        int16_t y;
15
        int16_t z;
15
        int16_t z;
16
} __attribute__((packed)) vector16_t;
16
} __attribute__((packed)) vector16_t;
17
 
17
 
18
 
18
 
19
#endif //_VECTOR_H
19
#endif //_VECTOR_H