Ignore:
Timestamp:
01/17/08 17:25:10 (17 years ago)
Author:
bittner
Message:

HR updates

Location:
GTP/trunk/Lib/Vis/Preprocessing/src/havran
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/havran/configh.h

    r2602 r2608  
    1313#ifndef __CONFIGH_H__ 
    1414#define __CONFIGH_H__ 
     15 
     16#if defined(_MSC_VER) 
     17// use perftimer only on msvc 
     18// define __SSE__ macro as it is not defined under MSVC 
     19#define __SSE__ 
     20// If we support the use of SSE instructions for ray shooting 
     21#define _USE_HAVRAN_SSE 
     22#endif 
    1523 
    1624#ifndef USE_GOLEM_NAMESPACE 
  • GTP/trunk/Lib/Vis/Preprocessing/src/havran/ktball.cpp

    r2603 r2608  
    424424 
    425425void 
    426 CKTB::FindNearestI(RayPacket2x2 &raypack, Vector3 &boxmin, Vector3 &boxmax) 
     426CKTB::FindNearestI(RayPacket2x2 &raypack, 
     427                                   const Vector3 &boxmin, 
     428                                   const Vector3 &boxmax) 
    427429{ 
    428430  if (!makeMinBoxes) 
  • GTP/trunk/Lib/Vis/Preprocessing/src/havran/ktball.h

    r2602 r2608  
    1616// GOLEM headers 
    1717#include "configh.h" 
     18#include "ktbconf.h" 
    1819//#include "ktbi.h" 
    1920#include "ktbai.h" 
  • GTP/trunk/Lib/Vis/Preprocessing/src/havran/ktbconf.h

    r2603 r2608  
    2323#endif 
    2424 
    25 // If we support the use of SSE instructions for ray shooting 
    26 // #define _USE_HAVRAN_SSE 
    2725 
    2826namespace GtpVisibilityPreprocessor { 
  • GTP/trunk/Lib/Vis/Preprocessing/src/havran/ktbf2trv.cpp

    r2595 r2608  
    413413// This code allows to specify the box where the ray should be traversed! 
    414414void 
    415 CKTBTraversal::FindNearestI(RayPacket2x2 &rp, Vector3 &boxmin, Vector3 &boxmax) 
     415CKTBTraversal::FindNearestI(RayPacket2x2 &rp, 
     416                                                        const Vector3 &boxmin, 
     417                                                        const Vector3 &boxmax) 
    416418{ 
    417419  static AxisAlignedBox3 localbox; 
Note: See TracChangeset for help on using the changeset viewer.