Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 28, 2005, 1:51:28 PM (20 years ago)
Author:
bottac
Message:

Fixed some bugs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/height_map/src/lib/graphics/importer/height_map.h

    r6249 r6329  
    1717
    1818#define sampleRate 4
     19#define texRate   4
     20#define texRatef   4.0f
    1921
    2022class SDL_Surface;
     
    3234void load(const char*, int Mode);
    3335void scale( Vector V);
    34 float getHeight(float x, float y); // x,y relative to HeightMap
     36void shift (Vector V);
     37float getHeight(float x, float y);
    3538HeightMap();
    3639HeightMap(const char*);
     
    5659float scaleY ;
    5760float scaleZ ;
     61float shiftX ;
     62float shiftY ;
     63float shiftZ ;
    5864int   cmScaleX;
    5965int   cmScaleY;
    6066bool  hasColourMap;
     67
    6168inline int abs(int val)
    6269{
Note: See TracChangeset for help on using the changeset viewer.