SuperTuxKart
Loading...
Searching...
No Matches
Classes | Public Member Functions | Private Attributes | List of all members
BezierCurve Class Reference

A class to manage bezier curves and interpolation. More...

#include <bezier_curve.hpp>

Classes

struct  BezierData
 A data structure to store one bezier control point and the two handles. More...
 

Public Member Functions

 BezierCurve (const XMLNode &node)
 
Vec3 getXYZ (float t) const
 
Vec3 getHPR (float t) const
 
unsigned int getNumPoints () const
 Returns the number of points in this bezier curve.
 

Private Attributes

AlignedArray< BezierDatam_all_data
 Vector with all control points and handles.
 

Detailed Description

A class to manage bezier curves and interpolation.


The documentation for this class was generated from the following files: