| 123456789101112131415161718192021222324252627 |
- //
- // object.hpp
- // graphics
- //
- // Created by Sam Jaffe on 7/5/16.
- //
- #pragma once
- #include <vector>
- #include "game/graphics/graphics_fwd.h"
- #include "game/math/math_fwd.hpp"
- #include "game/math/shape.hpp"
- #include "vector/vector.hpp"
- namespace graphics {
- struct object {
- math::dim2::rectangle location;
- math::dim2::quad points;
- identity<material> material;
- math::dim2::rectangle frame;
- }; // size:56, align:4
- void vertices(std::vector<vertex> & out, object const & obj);
- void vertices(std::vector<vertex> & out, std::vector<object> const & obj);
- }
|