Changeset 1523 for GTP/trunk/Lib
- Timestamp:
- 09/27/06 19:38:03 (18 years ago)
- Location:
- GTP/trunk/Lib/Vis/Preprocessing/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/GvsPreprocessor.cpp
r1522 r1523 100 100 const float len = Magnitude(a); 101 101 102 const Vector3 dir1 = CrossProd(a, b); //N((pi-xp)×(pi+1- pi));103 const Vector3 dir2 = CrossProd(a, c); // N((pi-xp)×(pi- pi-1))102 const Vector3 dir1 = Normalize(CrossProd(a, b)); //N((pi-xp)×(pi+1- pi)); 103 const Vector3 dir2 = Normalize(CrossProd(a, c)); // N((pi-xp)×(pi- pi-1)) 104 104 const Vector3 dir3 = DotProd(dir1, dir2) > 0 ? // N((pi-xp)×di,i-1+di,i+1×(pi-xp)) 105 105 Normalize(dir2 + dir1) : Normalize(CrossProd(a, dir2) + CrossProd(dir1, a)); … … 114 114 115 115 vertices.push_back(pt1); 116 vertices.push_back(pt2);116 //vertices.push_back(pt2); 117 117 vertices.push_back(pt3); 118 118 } -
GTP/trunk/Lib/Vis/Preprocessing/src/Preprocessor.cpp
r1522 r1523 191 191 DEL_PTR(mRenderSimulator); 192 192 DEL_PTR(renderer); 193 DEL_PTR(mRayCaster); 193 194 } 194 195 … … 425 426 bool Preprocessor::PrepareViewCells() 426 427 { 428 /////// 427 429 //-- parse view cells construction method 428 430 Environment::GetSingleton()->GetBoolValue("ViewCells.loadFromFile", mLoadViewCells); … … 448 450 449 451 //////// 450 //-- render heuristics evaluation452 //-- evaluation of render cost heuristics 451 453 float objRenderCost = 0, vcOverhead = 0, moveSpeed = 0; 452 454
Note: See TracChangeset
for help on using the changeset viewer.