16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 04:39:18 +02:00
This commit is contained in:
milek7
2018-07-14 17:00:54 +02:00
parent a81499f7e5
commit 4566375faa
14 changed files with 157 additions and 75 deletions

View File

@@ -1,7 +1,7 @@
#pragma once
#include "gl/shader_mvp.h"
#include "gl/vao.h"
#include "gl/shader.h"
#include <memory>
// sky gradient based on "A practical analytic model for daylight"
@@ -65,6 +65,6 @@ private:
float PerezFunctionO1( float Perezcoeffs[ 5 ], const float Thetasun, const float Zenithval );
float PerezFunctionO2( float Perezcoeffs[ 5 ], const float Icostheta, const float Gamma, const float Cosgamma2, const float Zenithval );
std::unique_ptr<gl::program_mvp> m_shader;
std::unique_ptr<gl::program> m_shader;
std::unique_ptr<gl::vao> m_vao;
};