19#ifndef HEADER_BEZIER_HPP
20#define HEADER_BEZIER_HPP
24#include "utils/aligned_array.hpp"
25#include "utils/vec3.hpp"
52 Vec3 getXYZ(
float t)
const;
53 Vec3 getHPR(
float t)
const;
A class to manage bezier curves and interpolation.
Definition: bezier_curve.hpp:34
unsigned int getNumPoints() const
Returns the number of points in this bezier curve.
Definition: bezier_curve.hpp:56
AlignedArray< BezierData > m_all_data
Vector with all control points and handles.
Definition: bezier_curve.hpp:49
A wrapper around bullets btVector3 to include conventient conversion functions (e....
Definition: vec3.hpp:35
utility class used to parse XML files
Definition: xml_node.hpp:48
A data structure to store one bezier control point and the two handles.
Definition: bezier_curve.hpp:39
Vec3 m_handle1
First handle, i.e.
Definition: bezier_curve.hpp:43
Vec3 m_handle2
Second handle, i.e.
Definition: bezier_curve.hpp:45
Vec3 m_control_point
The control point.
Definition: bezier_curve.hpp:41