Création d'un compte pour un collaborateur extérieur au laboratoire depuis l'intranet ICube : https://intranet.icube.unistra.fr/fr/labs/member/profile

Commit a8f2d8e6 authored by Sylvain Thery's avatar Sylvain Thery
Browse files

resolve bug explodeVolumeSmooth

parent b1faeed4
......@@ -131,7 +131,7 @@ void ExplodeVolumeRender::updateSmooth(typename PFP::MAP& map, const VertexAttri
N.normalize();
normals.push_back(N);
a = e;
centerFace += positions[d];
centerFace += positions[a];
nbs++;
} while (a != d);
......@@ -243,7 +243,7 @@ void ExplodeVolumeRender::updateSmooth(typename PFP::MAP& map, const VertexAttri
N.normalize();
normals.push_back(N);
a = e;
centerFace += positions[d];
centerFace += positions[a];
nbs++;
} while (a != d);
......
......@@ -3,8 +3,8 @@
uniform vec4 ambient;
uniform vec4 backColor;
VARYING_FRAG vec4 normalFS;
VARYING_FRAG vec4 lightFS;
VARYING_FRAG vec3 normalFS;
VARYING_FRAG vec3 lightFS;
VARYING_FRAG vec3 colorVert;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment