Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2010 in orxonox.OLD for orxonox/branches/chris


Ignore:
Timestamp:
Jun 22, 2004, 12:09:56 PM (20 years ago)
Author:
chris
Message:

orxonox/branches/chris: Even more doxygen tags added, now it gets dokumented without haveing to enable EXTRACT_ALL

Location:
orxonox/branches/chris/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/chris/src/collision.h

    r1982 r2010  
    2020  Vector m;
    2121} CC_Tree;
     22
     23/**
     24  This class implements a more or less efficient collision system based on nested hitzones.
     25  Instead of using a brute force approach (try if any hitzone intersects with any other hitzone)
     26  this features a tree of spheric hitzones. Only some of them are actually the solid groundstones
     27  the collision model bases on, the others serve to group them into sets of spheres that are only
     28  checked for collision when the assigned top level sphere has registered a collision, preventing
     29  unnessessary checks (like between every sphere of two collision clusters at the other end of the world)
     30  from being performed.
     31  The CollisionCluster features collision detection between multiple CollisionClusters as well as
     32  traceing a collision between a line of defined length and a cluster. In both cases the base spheres
     33  that have intersected are marked with a flag in an unsigned long for hitlocation queries. In the case
     34  of a trace, the exact point of interception is returned as well.
     35*/
    2236
    2337class CollisionCluster {
  • orxonox/branches/chris/src/vector.h

    r1982 r2010  
    66#define PI 3.14159265359f
    77
     8/**
     9  Class for 3-dimensional vector calculation
     10 
     11  Supports all common vector operations (dot, cross, lenght and so on)
     12*/
    813class Vector {
    914
     
    3035float angle_rad (const Vector& v1, const Vector& v2);
    3136
    32 float line_distance (Vector* l1, Vector* l2);
    33 
     37/**
     38  Class to handle 3-dimensional rotations
     39 
     40  Can create a rotation from several inputs, currently stores rotation using a 3x3 Matrix
     41*/
    3442class Rotation {
    3543  public:
     
    4755Vector rotate_vector( const Vector& v, const Rotation& r);
    4856
     57/**
     58  Class to store Lines in 3-dimensional space
     59
     60  Supports line-to-line distance measurements and rotation
     61*/
    4962class Line
    5063{
     
    6578};
    6679
     80/**
     81  Class to handle planes in 3-dimensional space
     82
     83  Critical for polygon-based collision detection
     84*/
    6785class Plane
    6886{
Note: See TracChangeset for help on using the changeset viewer.