Brève interruption de service ce midi pour augmentation de la mémoire 🤞

Commit e1d0f43b authored by Kenneth Vanhoey's avatar Kenneth Vanhoey

minor changes

parent 262c5ad4
......@@ -20,8 +20,10 @@ void main(void)
vec3 L = normalize (lightPosition - newPos.xyz);
float lambertTerm = dot(N,L);
ColorFS = ambient;
if(lambertTerm > 0.0)
ColorFS += diffuse * lambertTerm;
int i;
for(i=0; i< NBVERTS_IN; i++)
{
......
......@@ -459,7 +459,7 @@ void SimpleQT::updateGL()
void SimpleQT::updateGLMatrices()
{
m_glWidget->modelModified();
// m_glWidget->updateGL();
updateGL();
}
void SimpleQT::transfoRotate(float angle, float x, float y, float z)
......
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