YAxisOrientation.h 434 B

1234567891011121314151617
  1. #pragma once
  2. #include "base.h"
  3. namespace msdfgen {
  4. /// Specifies whether the Y component of the coordinate system increases in the upward or downward direction.
  5. enum YAxisOrientation {
  6. Y_UPWARD,
  7. Y_DOWNWARD
  8. };
  9. }
  10. #define MSDFGEN_Y_AXIS_DEFAULT_ORIENTATION msdfgen::Y_UPWARD
  11. #define MSDFGEN_Y_AXIS_NONDEFAULT_ORIENTATION (MSDFGEN_Y_AXIS_DEFAULT_ORIENTATION == msdfgen::Y_DOWNWARD ? msdfgen::Y_UPWARD : msdfgen::Y_DOWNWARD)