diff options
author | Brian Paul <[email protected]> | 2002-11-01 23:35:07 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2002-11-01 23:35:07 +0000 |
commit | 034e8641bb2e3a8ff9b313719ba3c44282bf07c1 (patch) | |
tree | 95aeb5a5cce64a4cd1f489141657484656a7c22a /src/glu/sgi/libnurbs/nurbtess | |
parent | 026b40f41617d0cda62a253143136bb5657829d6 (diff) |
renamed abs() function glu_abs()
Diffstat (limited to 'src/glu/sgi/libnurbs/nurbtess')
-rw-r--r-- | src/glu/sgi/libnurbs/nurbtess/sampleMonoPoly.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/glu/sgi/libnurbs/nurbtess/sampleMonoPoly.cc b/src/glu/sgi/libnurbs/nurbtess/sampleMonoPoly.cc index 1ddfa2ce45e..8a90eb17feb 100644 --- a/src/glu/sgi/libnurbs/nurbtess/sampleMonoPoly.cc +++ b/src/glu/sgi/libnurbs/nurbtess/sampleMonoPoly.cc @@ -31,10 +31,10 @@ ** published by SGI, but has not been independently verified as being ** compliant with the OpenGL(R) version 1.2.1 Specification. ** -** $Date: 2001/03/17 00:25:41 $ $Revision: 1.1 $ +** $Date: 2002/11/01 23:35:08 $ $Revision: 1.2 $ */ /* -** $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libnurbs/nurbtess/sampleMonoPoly.cc,v 1.1 2001/03/17 00:25:41 brianp Exp $ +** $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libnurbs/nurbtess/sampleMonoPoly.cc,v 1.2 2002/11/01 23:35:08 brianp Exp $ */ #include "gluos.h" @@ -520,13 +520,13 @@ rightChain->print(); Real tempI; //skip those points which are equal to v. (avoid degeneratcy) for(tempI = index1; tempI <= leftChainEndIndex; tempI++) - if(leftChain->getVertex(tempI)[1] < v) + if(leftChain->getVertex((Int) tempI)[1] < v) break; if(tempI > leftChainEndIndex) ret_rightCornerWhere = 1; else { - Real tempMax = leftChain->getVertex(tempI)[0]; + Real tempMax = leftChain->getVertex((Int) tempI)[0]; for(i=(int)tempI; i<= leftChainEndIndex; i++) if(leftChain->getVertex(i)[0] > tempMax) { |