Changeset 1896


Ignore:
Timestamp:
12/15/06 12:36:29 (17 years ago)
Author:
szirmay
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/src/RenderingRuns/OgreCubeMapRenderingRun.cpp

    r1886 r1896  
    159159                        float w = floatbuffer[i + 3]; 
    160160 
    161                         if(first) 
     161                        if(first && w != 0) 
    162162                        { 
    163163                                minX = x; 
     
    172172                                first = false; 
    173173                        } 
    174                         else if( (x * x + y * y + z * z + w * w) != 0) 
     174                        else if( /*(x * x + y * y + z * z + w * w) != 0*/ w != 0) 
    175175                        { 
    176176                                if(x < minX)minX = x; 
Note: See TracChangeset for help on using the changeset viewer.