16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 04:39:18 +02:00

experiments with shaders

This commit is contained in:
VB
2017-03-19 10:48:22 +01:00
parent 3941283381
commit 4d19e49398
20 changed files with 381 additions and 191 deletions

4
VBO.h
View File

@@ -7,6 +7,8 @@ obtain one at
http://mozilla.org/MPL/2.0/.
*/
#include "shader.h"
#ifndef VBOH
#define VBOH
//---------------------------------------------------------------------------
@@ -28,6 +30,8 @@ class CVertNormTex
class CMesh
{ // wsparcie dla VBO
GLuint vao;
gl_program shader;
public:
int m_nVertexCount; // liczba wierzchołków
CVertNormTex *m_pVNT;