aboutsummaryrefslogtreecommitdiffstats
path: root/core/cubic_tables.h
blob: 88097ae2f153841b8db6a0f225449d1633bac307 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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 */