Skip to content

Commit be2a151

Browse files
committed
moved dice to get out of the way of player names. Also changed image sample window since we're mysteriously clipping the dice now when sampling 95x95. Will look into this later
1 parent 6f9d658 commit be2a151

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/GameView.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ using std::unique_ptr;
1919

2020
float DiceXCoords[3] = {9.f, 134.f, 259.f};
2121
float DiceYCoords[2] = {3.f, 142.f};
22-
std::pair<float, float> lDieScreenLoc= make_pair(0.7f, 0.8f);
23-
std::pair<float, float> rDieScreenLoc= make_pair(0.78f, 0.8f);
22+
std::pair<float, float> lDieScreenLoc= make_pair(0.6f, 0.82f);
23+
std::pair<float, float> rDieScreenLoc= make_pair(0.68f, 0.82f);
2424

2525
#define DIE_SIDE_LENGTH 0.06f
26-
#define DIE_SCREEN_SIDE_LENGTH 95.f
26+
#define DIE_SCREEN_SIDE_LENGTH 105.f
2727

2828
#define EMPLACE_SQUARE_VERTEX(imXOff, imYOff, scXOff, scYOff) \
2929
texCoordPair({texTopLeft.first + imXOff, texTopLeft.second + imYOff}); \

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ void updateViewport(int width, int height) {
4444
gluOrtho2D(0, 1, 0, 1);
4545

4646
glMatrixMode(GL_MODELVIEW);
47-
return 0;
47+
//return 0;
4848
}
4949

5050
/**

0 commit comments

Comments
 (0)