Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
godotengine
GitHub Repository: godotengine/godot
Path: blob/master/thirdparty/msdfgen/core/YAxisOrientation.h
14710 views
1
2
#pragma once
3
4
#include "base.h"
5
6
namespace msdfgen {
7
8
/// Specifies whether the Y component of the coordinate system increases in the upward or downward direction.
9
enum YAxisOrientation {
10
Y_UPWARD,
11
Y_DOWNWARD
12
};
13
14
}
15
16
#define MSDFGEN_Y_AXIS_DEFAULT_ORIENTATION msdfgen::Y_UPWARD
17
#define MSDFGEN_Y_AXIS_NONDEFAULT_ORIENTATION (MSDFGEN_Y_AXIS_DEFAULT_ORIENTATION == msdfgen::Y_DOWNWARD ? msdfgen::Y_UPWARD : msdfgen::Y_DOWNWARD)
18
19