removed dependency from directory

This commit is contained in:
devZoGok
2021-10-18 19:08:10 +03:00
parent 3d666aa3a1
commit 9e6b5a995a
12 changed files with 82 additions and 23 deletions
+9 -2
View File
@@ -30,11 +30,18 @@ namespace vb01{
else
cout<<"Complete\n";
string basePath="/home/dominykas/c++/FSim/depthMap.";
string basePath="../../vb01/depthMap.";
depthMapShader=new Shader(basePath+"vert",basePath+"frag");
}
Light::~Light(){}
Light::~Light(){
glBindFramebuffer(GL_FRAMEBUFFER,0);
glDeleteFramebuffers(1,&depthmapFBO);
delete depthMap;
delete depthMapShader;
}
void Light::update(){
Root *root=Root::getSingleton();