Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/chris/src/coordinates.h @ 2053

Last change on this file since 2053 was 2014, checked in by chris, 20 years ago

orxonox/branches/chris: Even more doxygen stuff as well as removal of the deprecated rotation.h/.cc

File size: 901 bytes
Line 
1/*!
2    \file coordinates.h
3    \brief Basic coordinate system definitions
4*/ 
5
6#ifndef COORDINATES_H
7#define COORDINATES_H
8
9#include "vector.h"
10
11//! Coordinates relative to track
12/**
13  This identifies the position of an object on the track system
14*/
15typedef struct
16{
17  unsigned long part;   //!< ID of the track part the object is on
18  float dist;           //!< The distance that has already been traveled on the track
19  Vector pos;           //!< The position relative to the offset marked by the distance already covered
20  Rotation rot;         //!< The direction the object is heading (relative to track direction)
21} Location;
22
23//! Absolute coordinates
24/**
25  This is used to store the position of a object in the rendered coordinate system
26*/
27typedef struct
28{
29  Vector r;              //!< Absolute x/y/z coordinates
30  Rotation w;            //!< Absolute orientation
31} Placement;
32
33#endif
Note: See TracBrowser for help on using the repository browser.