Gaussian blur

bug fixes
This commit is contained in:
devZoGok
2021-10-19 19:06:40 +03:00
parent 5159afba51
commit 0d6b01421f
17 changed files with 220 additions and 83 deletions
+9
View File
@@ -229,6 +229,15 @@ namespace vb01{
this->castShadow=castShadow;
}
void Model::setReflect(bool reflect){
vector<Node*> descendants;
getDescendants(this,descendants);
for(Node *node : descendants)
for(Mesh *mesh : node->getMeshes())
mesh->setReflect(reflect);
this->reflect=reflect;
}
void Model::setWireframe(bool wirefame){
vector<Node*> descendants;
getDescendants(this,descendants);