Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3217 in orxonox.OLD for orxonox/trunk/src/curve.cc


Ignore:
Timestamp:
Dec 18, 2004, 3:48:43 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: copied Curve-class from branches/bezierCurve. The only really useable Class from there.

File:
1 copied

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/curve.cc

    r3194 r3217  
    5959/**
    6060   \brief Deletes a BezierCurve.
     61
    6162   It does this by freeing all the space taken over from the nodes
    6263*/
     
    110111}
    111112
     113/**
     114   \brief Calulates the direction of the Curve at time t.
     115   \param The time at which to evaluate the curve.
     116   \returns The vvaluated Vector.
     117*/
    112118Vector BezierCurve::calcDir (float t)
    113119{
     
    133139}
    134140
     141/**
     142   \brief Calculates the Quaternion needed for our rotations
     143   \param t The time at which to evaluate the cuve.
     144   \returns The evaluated Quaternion.
     145*/
    135146Quaternion BezierCurve::calcQuat (float t)
    136147{
     
    148159}
    149160
    150 
     161/**
     162   \brief ncr-calculator, did not find an other method
     163   \todo a c++ variante to do this
     164*/
    151165int ncr(int n, int i)
    152166{
Note: See TracChangeset for help on using the changeset viewer.