From ef7f69b7b0a35435fcef66b1ccb2a8b777adc266 Mon Sep 17 00:00:00 2001 From: David Rose Date: Mon, 12 Jul 2004 22:31:45 +0000 Subject: [PATCH] dos2unix --- panda/src/pgraph/seaPatchNode.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/panda/src/pgraph/seaPatchNode.cxx b/panda/src/pgraph/seaPatchNode.cxx index b8f727d8fe..ae2ed2022f 100755 --- a/panda/src/pgraph/seaPatchNode.cxx +++ b/panda/src/pgraph/seaPatchNode.cxx @@ -218,8 +218,8 @@ do_wave(Geom * geom, LMatrix4f net_trans_mat) { // Recompute normals based on height norms.push_back(get_normal(V[0],V[1])); nindex.push_back(k); - geom->set_normals(norms, G_PER_VERTEX, nindex); - + geom->set_normals(norms, G_PER_VERTEX, nindex); + // Vertex color based shading // ** add shade_mode (high, low , all, none) c[0] = (_color_scale + _light_color[0] + (height_change / (2 * _amplitude)))/3.0;