Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 1, 2015, 9:30:37 PM (9 years ago)
Author:
landauf
Message:

replaced tabs with spaces + some formatting sometimes. no changes in code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/towerdefenseHS14/src/modules/towerdefense/TDCoordinate.cc

    r10245 r10246  
    2424    TDCoordinate::TDCoordinate(int x, int y)
    2525    {
    26         this->x=x;
    27         this->y=y;
     26        this->x=x;
     27        this->y=y;
    2828    }
    2929
     
    3131    Vector3 TDCoordinate::get3dcoordinate()
    3232    {
    33         float tileScale = 100;
     33        float tileScale = 100;
    3434
    35         Vector3 *coord = new Vector3();
    36         coord->x= (x-8) * tileScale;
    37         coord->y= (y-8) * tileScale;
    38         coord->z=100;
     35        Vector3 *coord = new Vector3();
     36        coord->x= (x-8) * tileScale;
     37        coord->y= (y-8) * tileScale;
     38        coord->z=100;
    3939
    40         return *coord;
     40        return *coord;
    4141    }
    4242}
Note: See TracChangeset for help on using the changeset viewer.