mirror of
https://github.com/love2d/megasource.git
synced 2026-08-16 16:21:13 +02:00
20 lines
389 B
C++
20 lines
389 B
C++
#ifndef CORE_BSINC_TABLES_H
|
|
#define CORE_BSINC_TABLES_H
|
|
|
|
#include <array>
|
|
|
|
#include "bsinc_defs.h"
|
|
|
|
|
|
struct BSincTable {
|
|
float scaleBase, scaleRange;
|
|
std::array<unsigned int,BSincScaleCount> m;
|
|
std::array<unsigned int,BSincScaleCount> filterOffset;
|
|
const float *Tab;
|
|
};
|
|
|
|
extern const BSincTable gBSinc12;
|
|
extern const BSincTable gBSinc24;
|
|
|
|
#endif /* CORE_BSINC_TABLES_H */
|