Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9418 in orxonox.OLD for branches


Ignore:
Timestamp:
Jul 24, 2006, 1:25:27 PM (18 years ago)
Author:
bensch
Message:

newlines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/terrain/src/lib/graphics/importer/terrain/terrain_quad.cc

    r9414 r9418  
    11/*
    22        orxonox - the future of 3D-vertical-scrollers
    3  
     3
    44        Copyright (C) 2006 orx
    5  
     5
    66        This program is free software; you can redistribute it and/or modify
    77        it under the terms of the GNU General Public License as published by
    88        the Free Software Foundation; either version 2, or (at your option)
    99        any later version.
    10  
     10
    1111        ### File Specific:
    1212        main programmer: Marco Biasini
    13  
     13
    1414 */
    1515#include "terrain_quad.h"
     
    2525
    2626TerrainQuad::TerrainQuad( Terrain *_owner, int _x0, int _z0, int _x1, int _z1 )
    27 :       owner( _owner ), xOffset( _x0 ), zOffset( _z0 ), 
     27:       owner( _owner ), xOffset( _x0 ), zOffset( _z0 ),
    2828width( _x1-_x0 ), height( _z1-_z0 )
    2929{
     
    3737}
    3838
    39 /** 
     39/**
    4040 * Recalculate the bounds of this TerrainQuad. It could be optimized, but how
    4141 * often is this method really used?
     
    4646                printf( "Cannot calculate bounds for a childless terrain quad.\n" );
    4747                exit( 0 );
    48         }       
     48        }
    4949        Vector min = Vector( children[BL_CHILD]->getBounds().min() );
    5050        Vector max = Vector( children[TR_CHILD]->getBounds().max() );
     
    5252                pTerrainQuad child = children[i];
    5353                min.y = fmin( child->bounds.min().y, min.y );
    54                 max.y = fmax( child->bounds.max().y, max.y );           
     54                max.y = fmax( child->bounds.max().y, max.y );
    5555        }
    5656        bounds.set( min, max );
Note: See TracChangeset for help on using the changeset viewer.