fix aspect ratio as well as billboard scaling
This commit is contained in:
1 parent
cb6c1df0be
commit
d7a119a592
3 files changed
+10
-10
No files matched your search
@@ -15,7 +15,7 @@
|
||||
#define TERRAIN_FREQUENCY 0.1f
|
||||
#define TERRAIN_DISTANCE 32
|
||||
#define HALF_TERRAIN_DISTANCE ((float)TERRAIN_DISTANCE / 2)
|
||||
#define PLAYER_HEIGHT 0.7f
|
||||
#define PLAYER_HEIGHT 0.6f
|
||||
|
||||
static float heightmap[TERRAIN_DISTANCE][TERRAIN_DISTANCE];
|
||||
|
||||
|
||||
Reference in new issue
Block a user