| 1234567891011121314151617181920212223242526272829 |
- //
- // 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 "game/util/flyweight.hpp"
- #include "vector/vector.hpp"
- namespace graphics {
- class material;
- struct bound {
- math::vec2 corner;
- math::vec2 size;
- };
- struct object {
- bound location;
- math::dim2::quad points;
- flyweight<material> material;
- bound frame;
- }; // size:56, align:4
- }
|