From f4a7739a40c095e0c837d78d00f13a1ef47d3a11 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Sat, 25 Nov 2023 17:05:01 -0700 Subject: cube foo init --- inc/scene.hpp | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'inc/scene.hpp') diff --git a/inc/scene.hpp b/inc/scene.hpp index f84bcd7..8e286db 100644 --- a/inc/scene.hpp +++ b/inc/scene.hpp @@ -1,20 +1,23 @@ -#ifndef CANVAS_HPP -#define CANVAS_HPP +#ifndef SCENE_HPP +#define SCENE_HPP -#include "mesh.hpp" +#include "model_instance.hpp" #include "vector.hpp" #include +#include class Scene { -private: - usu::vector meshes; - std::uint32_t width; - std::uint32_t height; - public: - Scene(); + usu::vector renderables; + std::tuple + viewport_dimension; // + std::tuple scene_dimension; + VECTOR directional_light; + FIXED z_plane; + Scene(); void render(); + POINT project_2d(VECTOR vertex); }; #endif // SCENE_HPP -- cgit v1.3