tutorial templates

This commit is contained in:
h4570
2022-08-23 09:57:34 +02:00
parent d469e78747
commit 3bbf3202ac
41 changed files with 610 additions and 24 deletions
+26
View File
@@ -0,0 +1,26 @@
/*
# _____ ____ ___
# | \/ ____| |___|
# | | | \ | |
#-----------------------------------------------------------------------
# Copyright 2022, tyra - https://github.com/h4570/tyra
# Licensed under Apache License 2.0
# Sandro Sobczyński <sandro.sobczynski@gmail.com>
*/
#include "engine.hpp"
#include "tutorial_09.hpp"
/**
* In this tutorial we will learn:
* - What is StaticPipeline/DynamicPipeline core class
* - How to render data manually (without Mesh class)
* - What are the "3D bags"
*/
int main() {
Tyra::Engine engine;
Tyra::Tutorial09 game(&engine);
engine.run(&game);
return 0;
}
@@ -0,0 +1,24 @@
/*
# _____ ____ ___
# | \/ ____| |___|
# | | | \ | |
#-----------------------------------------------------------------------
# Copyright 2022, tyra - https://github.com/h4570/tyra
# Licensed under Apache License 2.0
# Sandro Sobczyński <sandro.sobczynski@gmail.com>
*/
#include <tyra>
#include "tutorial_09.hpp"
namespace Tyra {
Tutorial09::Tutorial09(Engine* t_engine) : engine(t_engine) {}
Tutorial09::~Tutorial09() {}
void Tutorial09::init() {}
void Tutorial09::loop() {}
} // namespace Tyra