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:
4
VBO.h
4
VBO.h
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user