~ubuntu-branches/ubuntu/quantal/mesa/quantal

« back to all changes in this revision

Viewing changes to src/glu/sgi/libnurbs/nurbtess/sampleCompRight.cc

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-02-21 12:44:07 UTC
  • mfrom: (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 22.
  • Revision ID: james.westby@ubuntu.com-20070221124407-rgcacs32mycrtadl
ImportĀ upstreamĀ versionĀ 6.5.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
** published by SGI, but has not been independently verified as being
32
32
** compliant with the OpenGL(R) version 1.2.1 Specification.
33
33
**
34
 
** $Date: 2005-10-28 13:09:23 $ $Revision: 1.3 $
 
34
** $Date: 2006/08/30 19:02:45 $ $Revision: 1.4 $
35
35
*/
36
36
/*
37
 
** $Header: /cvs/mesa/Mesa/src/glu/sgi/libnurbs/nurbtess/sampleCompRight.cc,v 1.3 2005-10-28 13:09:23 brianp Exp $
 
37
** $Header: /cvs/mesa/Mesa/src/glu/sgi/libnurbs/nurbtess/sampleCompRight.cc,v 1.4 2006/08/30 19:02:45 brianp Exp $
38
38
*/
39
39
 
40
40
#include <stdlib.h>
72
72
   */
73
73
  Int midIndex1;
74
74
  Int midIndex2;
75
 
  Int gridMidIndex1, gridMidIndex2 = 0;
 
75
  Int gridMidIndex1 = 0, gridMidIndex2 = 0;
76
76
  //midIndex1: array[i] <= v, array[i+1] > v
77
77
  //midIndex2: array[i] >= v,  array[i+1] < v
78
78
  midIndex1 = rightChain->findIndexBelowGen(rightGridChain->get_v_value(gridIndex1),