Changeset 2585


Ignore:
Timestamp:
01/09/08 16:12:42 (16 years ago)
Author:
bittner
Message:
 
Location:
GTP/trunk/Lib/Vis/Preprocessing/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/HavranRayCaster.cpp

    r2583 r2585  
    281281    { 
    282282      Intersectable *intersect = 
    283         SimpleRay::IntersectionRes[i+16].intersectable; 
     283                SimpleRay::IntersectionRes[i+16].intersectable; 
    284284 
    285285      if (intersect) 
    286286      {  
    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); 
    291292      } 
    292293    } 
     
    298299#if 1 
    299300    ProcessRay(rays[k], 
    300                hitA, 
    301                hitB, 
    302                vssRays, 
    303                sbox, 
    304                castDoubleRays, 
    305                pruneInvalidRays 
    306                ); 
     301                           hitA, 
     302                           hitB, 
     303                           vssRays, 
     304                           sbox, 
     305                           castDoubleRays, 
     306                           pruneInvalidRays 
     307                           ); 
    307308#endif 
    308309  } // for 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Makefile

    r2583 r2585  
    11############################################################################# 
    22# Makefile for building: preprocessor 
    3 # Generated by qmake (2.00a) (Qt 4.1.2) on: st 9. I 13:30:43 2008 
     3# Generated by qmake (2.00a) (Qt 4.1.2) on: st 9. I 14:48:54 2008 
    44# Project:  preprocessor.pro 
    55# Template: app 
  • GTP/trunk/Lib/Vis/Preprocessing/src/common.h

    r2583 r2585  
    2121#include <limits.h> 
    2222 
    23 // use perftimer 
    24 // #define PERFTIMER 
     23 
    2524 
    2625#define USE_HAVRAN_RAYCASTER 
     
    3029   
    3130#if defined(_MSC_VER) 
     31// use perftimer only on msvc 
     32#define PERFTIMER 
     33 
    3234// define __SSE__ macro as it is not defined under MSVC 
    3335#define __SSE__ 
Note: See TracChangeset for help on using the changeset viewer.