Changeset 1325 for GTP/trunk/Lib/Geom/shared/GTGeometry/src
- Timestamp:
- 09/06/06 13:27:40 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Geom/shared/GTGeometry/src/GeoLodStripsLibrary.cpp
r1322 r1325 399 399 400 400 // Copy strips. 401 unsigned int numDegenerated = 2*mTotalStrips - 2;402 dataRetrievalInterface=create_index_data_func(total_strip_size +numDegenerated); // temporal!401 // unsigned int numDegenerated = 2*mTotalStrips - 2; 402 dataRetrievalInterface=create_index_data_func(total_strip_size/*+numDegenerated*/); // temporal! 403 403 dataRetrievalInterface->Begin(); 404 404 … … 612 612 dataRetrievalInterface->Begin(); 613 613 614 int counter = 0; 615 int target_submesh = 0; 616 size_t strip_count = 0; 614 int counter = 0; 615 int target_submesh = 0; 616 size_t strip_count = 0; 617 618 dataRetrievalInterface->SetCurrentSubmesh(target_submesh); 617 619 618 620 for (unsigned int i = 0; i < mTotalStrips; i++, strip_count++) … … 623 625 624 626 if (target_submesh==0) 625 {626 627 offsets_x_submesh[target_submesh] = 0; 627 }628 628 else 629 {630 629 offsets_x_submesh[target_submesh] = indices_x_submesh[target_submesh-1] + offsets_x_submesh[target_submesh-1]; 631 } 632 633 counter = 0; 630 631 counter = 0; 634 632 mStripsSubmesh[target_submesh] = (int)strip_count; 635 strip_count 633 strip_count = 0; 636 634 637 635 target_submesh++; 636 dataRetrievalInterface->SetCurrentSubmesh(target_submesh); 638 637 } 639 638 … … 674 673 strip_count = 0; 675 674 target_submesh++; 675 dataRetrievalInterface->SetCurrentSubmesh(target_submesh); 676 676 } 677 677
Note: See TracChangeset
for help on using the changeset viewer.