Changeset 2585 for GTP/trunk/Lib/Vis/Preprocessing
- Timestamp:
- 01/09/08 16:12:42 (17 years ago)
- Location:
- GTP/trunk/Lib/Vis/Preprocessing/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/HavranRayCaster.cpp
r2583 r2585 281 281 { 282 282 Intersectable *intersect = 283 SimpleRay::IntersectionRes[i+16].intersectable;283 SimpleRay::IntersectionRes[i+16].intersectable; 284 284 285 285 if (intersect) 286 286 { 287 hitB.mObject = intersect; 288 hitB.mNormal = intersect->GetNormal(0);; 289 float tdist = SimpleRay::IntersectionRes[i].tdist; 290 hitB.mPoint = rays[k].Extrap(-tdist); 287 hitB.mObject = intersect; 288 hitB.mNormal = intersect->GetNormal(0); 289 // $$ JB : i -> i+16 290 float tdist = SimpleRay::IntersectionRes[i+16].tdist; 291 hitB.mPoint = rays[k].Extrap(-tdist); 291 292 } 292 293 } … … 298 299 #if 1 299 300 ProcessRay(rays[k], 300 301 302 303 304 305 306 301 hitA, 302 hitB, 303 vssRays, 304 sbox, 305 castDoubleRays, 306 pruneInvalidRays 307 ); 307 308 #endif 308 309 } // for -
GTP/trunk/Lib/Vis/Preprocessing/src/Makefile
r2583 r2585 1 1 ############################################################################# 2 2 # Makefile for building: preprocessor 3 # Generated by qmake (2.00a) (Qt 4.1.2) on: st 9. I 1 3:30:4320083 # Generated by qmake (2.00a) (Qt 4.1.2) on: st 9. I 14:48:54 2008 4 4 # Project: preprocessor.pro 5 5 # Template: app -
GTP/trunk/Lib/Vis/Preprocessing/src/common.h
r2583 r2585 21 21 #include <limits.h> 22 22 23 // use perftimer 24 // #define PERFTIMER 23 25 24 26 25 #define USE_HAVRAN_RAYCASTER … … 30 29 31 30 #if defined(_MSC_VER) 31 // use perftimer only on msvc 32 #define PERFTIMER 33 32 34 // define __SSE__ macro as it is not defined under MSVC 33 35 #define __SSE__
Note: See TracChangeset
for help on using the changeset viewer.