[Plib-cvs] CVS: plib/src/ssg ssgLoadMDL.cxx,1.34,1.35
Brought to you by:
sjbaker
From: Wolfram K. <wol...@us...> - 2002-03-09 20:01:50
|
Update of /cvsroot/plib/plib/src/ssg In directory usw-pr-cvs1:/tmp/cvs-serv32487 Modified Files: ssgLoadMDL.cxx Log Message: There was a "short" instead of an "unsigned short". This meant you could not load MDLs with more than approx. 32000 vertices. Index: ssgLoadMDL.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/ssg/ssgLoadMDL.cxx,v retrieving revision 1.34 retrieving revision 1.35 diff -u -d -r1.34 -r1.35 --- ssgLoadMDL.cxx 16 Dec 2001 18:25:06 -0000 1.34 +++ ssgLoadMDL.cxx 9 Mar 2002 20:01:47 -0000 1.35 @@ -153,9 +153,9 @@ sgVec3 n; for (int i = 0; i < curr_index_->getNum() - 2; i++) { - short ix0 = *curr_index_->get(i ); - short ix1 = *curr_index_->get(i + 1); - short ix2 = *curr_index_->get(i + 2); + unsigned short ix0 = *curr_index_->get(i ); + unsigned short ix1 = *curr_index_->get(i + 1); + unsigned short ix2 = *curr_index_->get(i + 2); sgMakeNormal( n, vertex_array_->get(ix0), |