Changeset 3002 in orxonox.OLD for orxonox/trunk/src/vector.cc
- Timestamp:
- Nov 26, 2004, 9:41:29 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/vector.cc
r3000 r3002 846 846 847 847 /** 848 \brief Creates a new Be nzierCurve849 */ 850 Be nzierCurve::BenzierCurve (void)848 \brief Creates a new BezierCurve 849 */ 850 BezierCurve::BezierCurve (void) 851 851 { 852 852 nodeCount = 0; … … 862 862 863 863 /** 864 \brief Deletes a Be nzierCurve.864 \brief Deletes a BezierCurve. 865 865 It does this by freeing all the space taken over from the nodes 866 866 */ 867 Be nzierCurve::~BenzierCurve (void)867 BezierCurve::~BezierCurve (void) 868 868 { 869 869 PathNode* tmpNode; … … 878 878 879 879 /** 880 \brief adds a new Node to the be nzier Curve880 \brief adds a new Node to the bezier Curve 881 881 \param newNode a Vector to the position of the new node 882 882 */ 883 void Be nzierCurve::addNode(const Vector& newNode)883 void BezierCurve::addNode(const Vector& newNode) 884 884 { 885 885 PathNode* tmpNode; … … 901 901 \param t The position on the Curve (0<=t<=1) 902 902 */ 903 void Be nzierCurve::calcPos(float t)903 void BezierCurve::calcPos(float t) 904 904 { 905 905 if (nodeCount <=4) … … 951 951 \return a Vector to the calculated position 952 952 */ 953 Vector Be nzierCurve::getPos() const953 Vector BezierCurve::getPos() const 954 954 { 955 955 return curvePoint; … … 961 961 \return a Vector to the calculated position 962 962 */ 963 Vector Be nzierCurve::getPos(float t)963 Vector BezierCurve::getPos(float t) 964 964 { 965 965 calcPos(t);
Note: See TracChangeset
for help on using the changeset viewer.