| 12345678910111213141516171819202122232425262728 |
- //
- // object.hpp
- // graphics
- //
- // Created by Sam Jaffe on 7/5/16.
- //
- #pragma once
- #include "game/math/math_fwd.hpp"
- #include "game/math/shape.hpp"
- #include "vector/vector.hpp"
- #include "material.hpp"
- namespace graphics {
- struct bound {
- math::vec2 corner;
- math::vec2 size;
- };
-
- struct object {
- bound location;
- math::quad points;
- material material;
- bound frame;
- }; // size:56, align:4
- }
|