Files
Wolf3s 0cecbf0a7d add ci cpp-check and clang format on tutorial_08.hpp (#137)
* Create check-format.yml

* Fix
2022-08-29 23:13:23 +02:00

43 lines
855 B
C++

/*
# _____ ____ ___
# | \/ ____| |___|
# | | | \ | |
#-----------------------------------------------------------------------
# Copyright 2022, tyra - https://github.com/h4570/tyra
# Licensed under Apache License 2.0
# Sandro Sobczyński <sandro.sobczynski@gmail.com>
*/
#pragma once
#include <tyra>
namespace Tyra {
class Tutorial08 : public Game {
public:
Tutorial08(Engine* engine);
~Tutorial08();
void init();
void loop();
private:
void loadCupMesh();
void loadSkyboxMesh();
Vec4 cameraPosition;
Vec4 cameraLookAt;
Engine* engine;
u8 fpsCounter;
StaticPipeline stapip;
StaPipOptions skyboxRenderOptions;
StaPipOptions cupRenderOptions;
std::unique_ptr<StaticMesh> skyboxMesh;
std::unique_ptr<StaticMesh> cupMesh;
};
} // namespace Tyra