diff options
author | Keith Whitwell <[email protected]> | 2001-08-14 00:52:47 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2001-08-14 00:52:47 +0000 |
commit | bd9b4056d7e93529782f104b9e7bd7fdfa685878 (patch) | |
tree | 71e2a4a5e73fbedd569093694cc062ceaf460885 /src | |
parent | 3d1df5554e0038c9e8ea95e86317355050a74cc6 (diff) |
Undo last change - breaks other stuff.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/tnl/t_imm_eval.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mesa/tnl/t_imm_eval.c b/src/mesa/tnl/t_imm_eval.c index 6a69e9b3d86..f70f94aae6b 100644 --- a/src/mesa/tnl/t_imm_eval.c +++ b/src/mesa/tnl/t_imm_eval.c @@ -1,4 +1,4 @@ -/* $Id: t_imm_eval.c,v 1.15 2001/08/14 00:50:44 keithw Exp $ */ +/* $Id: t_imm_eval.c,v 1.16 2001/08/14 00:52:47 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -206,13 +206,13 @@ static void eval2_obj_norm( GLvector4f *obj_ptr, _math_de_casteljau_surf(map->Points, obj[i], du, dv, u, v, dimension, map->Uorder, map->Vorder); - du[0] = du[0]*obj[i][3] - du[3]*obj[i][0]; - du[1] = du[1]*obj[i][3] - du[3]*obj[i][1]; - du[2] = du[2]*obj[i][3] - du[3]*obj[i][2]; +/* du[0] = du[0]*obj[i][3] - du[3]*obj[i][0]; */ +/* du[1] = du[1]*obj[i][3] - du[3]*obj[i][1]; */ +/* du[2] = du[2]*obj[i][3] - du[3]*obj[i][2]; */ - dv[0] = dv[0]*obj[i][3] - dv[3]*obj[i][0]; - dv[1] = dv[1]*obj[i][3] - dv[3]*obj[i][1]; - dv[2] = dv[2]*obj[i][3] - dv[3]*obj[i][2]; +/* dv[0] = dv[0]*obj[i][3] - dv[3]*obj[i][0]; */ +/* dv[1] = dv[1]*obj[i][3] - dv[3]*obj[i][1]; */ +/* dv[2] = dv[2]*obj[i][3] - dv[3]*obj[i][2]; */ CROSS3(normal[i], du, dv); NORMALIZE_3FV(normal[i]); |