summaryrefslogtreecommitdiff
path: root/inc/scene.hpp
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2023-11-28 13:58:18 -0700
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2023-11-28 13:58:18 -0700
commit1b96b0211ed98afba515f0ac9880116f79ead2e5 (patch)
tree2bfc5489fe4a937f87dbc56136eda35e5c5fc1b9 /inc/scene.hpp
parentdbccd866229a4b06d10fbafc3eb3343015caedba (diff)
downloadgbarubik-1b96b0211ed98afba515f0ac9880116f79ead2e5.tar.gz
gbarubik-1b96b0211ed98afba515f0ac9880116f79ead2e5.zip
render the front face of a cube
Diffstat (limited to 'inc/scene.hpp')
-rw-r--r--inc/scene.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/scene.hpp b/inc/scene.hpp
index 05cdac0..6dd4c35 100644
--- a/inc/scene.hpp
+++ b/inc/scene.hpp
@@ -10,9 +10,9 @@
class Scene {
public:
usu::vector<std::shared_ptr<Renderable>> renderables;
- std::tuple<std::uint16_t, std::uint16_t>
+ std::tuple<std::uint32_t, std::uint32_t>
viewport_dimension; // <width, height>
- std::tuple<std::uint16_t, std::uint16_t> scene_dimension;
+ std::tuple<std::uint32_t, std::uint32_t> scene_dimension;
VECTOR directional_light;
FIXED z_plane;