Last change
on this file since 1982 was
1982,
checked in by chris, 20 years ago
|
orxonox/branches/chris: merged trunk into my branch, moved new files into new folder
|
File size:
634 bytes
|
Line | |
---|
1 | #ifndef COORDINATES_H |
---|
2 | #define COORDINATES_H |
---|
3 | |
---|
4 | #include "vector.h" |
---|
5 | |
---|
6 | typedef struct Location // place of a thing on the track system |
---|
7 | { |
---|
8 | unsigned long part; // ID of the track part the object is on |
---|
9 | float dist; // distance already traveled on a track |
---|
10 | Vector pos; // position relative to the distance already covered |
---|
11 | Rotation rot; // direction the object is heading (relative to track direction) |
---|
12 | } Location; |
---|
13 | |
---|
14 | typedef struct Placement // place of a thing in the rendered coordinate system |
---|
15 | { |
---|
16 | Vector r; // x/y/z coordinated |
---|
17 | Rotation w; // orientation |
---|
18 | } Placement; |
---|
19 | |
---|
20 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.