tutorial templates
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user