/* # _____ ____ ___ # | \/ ____| |___| # | | | \ | | #----------------------------------------------------------------------- # Copyright 2022, tyra - https://github.com/h4570/tyra # Licensed under Apache License 2.0 # Sandro Sobczyński */ #pragma once #include #include namespace Tyra { class Tutorial09 : public Game { public: Tutorial09(Engine* engine); ~Tutorial09(); void init(); void loop(); private: void setDrawData(); void loadBags(); Engine* engine; StaticPipeline stapip; Vec4 cameraPosition, cameraLookAt; M4x4 translation, rotation, scale, model; std::array vertices; std::array colors; std::unique_ptr bag; std::unique_ptr infoBag; std::unique_ptr colorBag; }; } // namespace Tyra