Changeset 3322 in orxonox.OLD for orxonox/branches/parenting
- Timestamp:
- Jan 3, 2005, 12:42:18 PM (20 years ago)
- Location:
- orxonox/branches/parenting/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/parenting/src/curve.cc
r3321 r3322 175 175 Vector BezierCurve::calcDir (float t) 176 176 { 177 return static_cast<BezierCurve*>(dirCurve)->calcPos(t);177 return dirCurve->calcPos(t); 178 178 } 179 179 -
orxonox/branches/parenting/src/curve.h
r3321 r3322 40 40 void addNode (const Vector& newNode); 41 41 42 virtual Vector calcPos(float t) = 0; 43 virtual Vector calcDir(float t) = 0; 44 virtual Quaternion calcQuat(float t) = 0; 45 42 46 }; 43 47
Note: See TracChangeset
for help on using the changeset viewer.