Changeset 2014 in orxonox.OLD for orxonox/branches/chris
- Timestamp:
- Jun 22, 2004, 6:12:59 PM (20 years ago)
- Location:
- orxonox/branches/chris/src
- Files:
-
- 2 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/chris/src/collision.h
r2012 r2014 1 /*! 2 \file collision.h 3 \brief Basic collision detection 4 */ 1 5 2 6 #ifndef COLLISION_H … … 9 13 #include <strings.h> 10 14 15 //! Tree structure used by the CollisionCluster 11 16 typedef struct CC_Tree 12 17 { -
orxonox/branches/chris/src/coordinates.h
r2012 r2014 1 /*! 2 \file coordinates.h 3 \brief Basic coordinate system definitions 4 */ 5 1 6 #ifndef COORDINATES_H 2 7 #define COORDINATES_H … … 8 13 This identifies the position of an object on the track system 9 14 */ 10 typedef struct Location15 typedef struct 11 16 { 12 17 unsigned long part; //!< ID of the track part the object is on … … 20 25 This is used to store the position of a object in the rendered coordinate system 21 26 */ 22 typedef struct Placement27 typedef struct 23 28 { 24 29 Vector r; //!< Absolute x/y/z coordinates -
orxonox/branches/chris/src/vector.h
r2012 r2014 1 /*! 2 \file vector.h 3 \brief A basic 3D math framework 4 5 Contains classes to handle vectors, lines, rotations and planes 6 */ 1 7 2 8 #ifndef VECTOR_H … … 38 44 //! 3D rotation 39 45 /** 40 Class to handle 3-dimensional rotations 41 46 Class to handle 3-dimensional rotations. 42 47 Can create a rotation from several inputs, currently stores rotation using a 3x3 Matrix 43 48 */ … … 45 50 public: 46 51 47 float m[9]; // < 3x3 Rotation Matrix52 float m[9]; //!< 3x3 Rotation Matrix 48 53 49 54 Rotation ( const Vector& v); … … 55 60 }; 56 61 62 //!< Apply a rotation to a vector 57 63 Vector rotate_vector( const Vector& v, const Rotation& r); 58 64
Note: See TracChangeset
for help on using the changeset viewer.