Ignore:
Timestamp:
01/09/08 11:14:26 (16 years ago)
Author:
bittner
Message:

Havran Ray Caster compiles and links, but still does not work

File:
1 edited

Legend:

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

    r2575 r2582  
    4141 
    4242  // Functions to get at the std::vector components 
    43   float& operator[] (int inx) { 
     43  float& operator[] (const int inx) { 
    4444#ifndef __VECTOR_HACK 
    4545    if (inx == 0) 
     
    6060#endif 
    6161 
    62   const float& operator[] (int inx) const { 
     62  const float &operator[] (const int inx) const { 
    6363#ifndef __VECTOR_HACK 
    6464    if (inx == 0) 
     
    6666    else 
    6767      if (inx == 1) 
    68         return y; 
     68                return y; 
    6969      else 
    70         return z; 
     70                return z; 
    7171#else 
    7272    return *(&x+inx); 
Note: See TracChangeset for help on using the changeset viewer.