You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
311 B
10 lines
311 B
#pragma once
|
|
#include "ggl.h"
|
|
class Shader {
|
|
public:
|
|
GLuint mProgram;
|
|
GLint mModelMatrixLocation, mViewMatrixLocation, mProjectionMatrixLocation;
|
|
GLint mPositionLocation, mColorLocation, mTexcoordLocation, mNormalLocation;
|
|
void Init(const char*vs, const char*fs);
|
|
void Bind(float *M, float *V, float*P);
|
|
};
|