mirror of https://github.com/axmolengine/axmol.git
18 lines
408 B
C
18 lines
408 B
C
#ifndef CORE_CUBIC_TABLES_H
|
|
#define CORE_CUBIC_TABLES_H
|
|
|
|
#include "alspan.h"
|
|
#include "cubic_defs.h"
|
|
|
|
|
|
struct CubicTable {
|
|
al::span<const CubicCoefficients,CubicPhaseCount> Tab;
|
|
};
|
|
|
|
/* A Catmull-Rom spline. The spline passes through the center two samples,
|
|
* ensuring no discontinuity while moving through a series of samples.
|
|
*/
|
|
extern const CubicTable gCubicSpline;
|
|
|
|
#endif /* CORE_CUBIC_TABLES_H */
|