A 2D tile-based sandbox game.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

drawutil.h 254B

123456789101112131415
  1. #pragma once
  2. #include <optional>
  3. #include <initializer_list>
  4. #include <utility>
  5. #include <cygnet/util.h>
  6. namespace Swan {
  7. namespace Draw {
  8. Cygnet::Color linearGradient(
  9. float val, std::initializer_list<std::pair<float, Cygnet::Color>> colors);
  10. }
  11. }