vertex.h 314 B

12345678910111213141516171819
  1. //
  2. // vertex.h
  3. // graphics
  4. //
  5. // Created by Sam Jaffe on 5/20/19.
  6. // Copyright © 2019 Sam Jaffe. All rights reserved.
  7. //
  8. #pragma once
  9. #include "game/math/math_fwd.hpp"
  10. #include "vector/vector.hpp"
  11. namespace graphics {
  12. struct vertex {
  13. math::vec2 position, texture_coords;
  14. math::rgba color;
  15. };
  16. }