Show
Ignore:
Timestamp:
03/21/12 18:36:20 (3 years ago)
Author:
robert
Message:

Ran script to remove trailing spaces and tabs

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgPlugins/bsp/VBSPGeometry.cpp

    r12292 r13041  
    3131    disp_texcoord_array = new Vec2Array(); 
    3232    disp_vertex_attr_array = new Vec4Array(); 
    33     
     33 
    3434    // Create a second primitive set for drawing indexed triangles, which is 
    3535    // the quickest method for drawing the displacement surfaces 
     
    4343 
    4444 
    45 bool VBSPGeometry::doesEdgeExist(int row, int col, int direction,  
     45bool VBSPGeometry::doesEdgeExist(int row, int col, int direction, 
    4646                                 int vertsPerEdge) 
    4747{ 
     
    279279    float             alphaBlend; 
    280280    unsigned char     edgeBits; 
    281     
     281 
    282282 
    283283    // Get the texture info for this face 
     
    286286 
    287287    // Get the texture vectors and offsets.  These are used to calculate 
    288     // texture coordinates  
     288    // texture coordinates 
    289289    texU.set(currentTexInfo.texture_vecs[0][0], 
    290290             currentTexInfo.texture_vecs[0][1], 
     
    300300    texV *= 39.37f; 
    301301 
    302     // Get the size of the texture involved, as the planar texture projection  
     302    // Get the size of the texture involved, as the planar texture projection 
    303303    // assumes non-normalized texture coordinates 
    304304    texUScale = 1.0f / (float)currentTexData.texture_width; 
     
    405405            // Calculate the displaced vertex 
    406406            dispVertex = 
    407                 dispVertInfo.displace_vec *  
     407                dispVertInfo.displace_vec * 
    408408                (dispVertInfo.displace_dist * 0.0254); 
    409409            dispVertex += flatVertex; 
     
    548548 
    549549        // Get the texture vectors and offsets.  These are used to calculate 
    550         // texture coordinates  
     550        // texture coordinates 
    551551        texU.set(currentTexInfo.texture_vecs[0][0], 
    552552                 currentTexInfo.texture_vecs[0][1],