Added Camera
This commit is contained in:
parent
89e47fa56c
commit
3842a877ac
7 changed files with 233 additions and 67 deletions
|
|
@ -13,7 +13,7 @@ class Shader
|
|||
public:
|
||||
// Compiled Shader Program ID
|
||||
unsigned int ID;
|
||||
|
||||
|
||||
Shader(const char* vertexPath, const char* fragmentPath)
|
||||
{
|
||||
std::string vertexCode, fragmentCode;
|
||||
|
|
@ -72,7 +72,7 @@ public:
|
|||
glDeleteShader(vertexShader);
|
||||
glDeleteShader(fragmentShader);
|
||||
}
|
||||
|
||||
|
||||
void Use()
|
||||
{
|
||||
glUseProgram(ID);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue