mirror of
https://github.com/love2d/megasource.git
synced 2026-08-16 16:21:13 +02:00
16 lines
404 B
C++
16 lines
404 B
C++
#ifndef CORE_CUBIC_DEFS_H
|
|
#define CORE_CUBIC_DEFS_H
|
|
|
|
#include <array>
|
|
|
|
/* The number of distinct phase intervals within the cubic filter tables. */
|
|
constexpr unsigned int CubicPhaseBits{5};
|
|
constexpr unsigned int CubicPhaseCount{1 << CubicPhaseBits};
|
|
|
|
struct CubicCoefficients {
|
|
alignas(16) std::array<float,4> mCoeffs;
|
|
alignas(16) std::array<float,4> mDeltas;
|
|
};
|
|
|
|
#endif /* CORE_CUBIC_DEFS_H */
|