38 lines
661 B
C++
38 lines
661 B
C++
#ifndef LLMR_UTIL_CONSTANTS
|
|
#define LLMR_UTIL_CONSTANTS
|
|
|
|
#include <cmath>
|
|
|
|
#include "vec.hpp"
|
|
|
|
namespace llmr {
|
|
|
|
extern const char *kSpriteURL;
|
|
extern const char *kVectorTileURL;
|
|
extern const char *kGlyphURL;
|
|
|
|
namespace util {
|
|
|
|
extern const float tileSize;
|
|
|
|
}
|
|
|
|
namespace debug {
|
|
|
|
extern const bool tileParseWarnings;
|
|
extern const bool styleParseWarnings;
|
|
extern const bool spriteWarnings;
|
|
extern const bool renderWarnings;
|
|
extern const bool renderTree;
|
|
extern const bool labelTextMissingWarning;
|
|
extern const bool missingFontStackWarning;
|
|
extern const bool missingFontFaceWarning;
|
|
extern const bool glyphWarning;
|
|
extern const bool shapingWarning;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|