Sample Scene
Simple application - 3D scene example
// engine includes
#include "app/Application.hpp"
#include "graphics/shaders/GLSLProgram.hpp"
#include "graphics/Mesh.hpp"
// std includes
#include <iostream>
#include <array>
// using namespaces for testing purposes-only
using namespace VAPE;
using namespace graphics;
using namespace camera;
// TimeStep global init. (provides time and deltaTime)
TimeStep time;
// the size of the meshes for the scene
constexpr size_t meshCount = 3;
// global resource objects
// to be added in the appplication class (this is just for example)
GLSLProgram basic;
std::array<std::shared_ptr<Mesh>, meshCount> meshes;Last updated