1
0
Fork 0
mirror of https://codeberg.org/kbruen/y3s2-gui-project.git synced 2025-04-20 23:03:56 +03:00

Compare commits

...

4 commits

Author SHA1 Message Date
3bd635b066
Added another example 2022-06-05 15:24:56 +03:00
5119beb058
Remove unneeded comment 2022-06-05 14:59:33 +03:00
d92154db83
Draw sky light grey 2022-06-05 14:25:32 +03:00
9d48e31906
Added another example 2022-06-05 14:17:16 +03:00
4 changed files with 12 additions and 2 deletions

5
examples/maze5.txt Normal file
View file

@ -0,0 +1,5 @@
XX
XX XX
XX

5
examples/maze6.txt Normal file
View file

@ -0,0 +1,5 @@
XXXXXXXXXX
X X X X
X XXX X
X X X
XXXXXXXXXX

View file

@ -26,11 +26,11 @@ MazeScreen::MazeScreen(const std::vector<std::vector<int>>& maze):
}
void MazeScreen::display() {
glClearColor(0.8, 0.8, 0.8, 1);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
//configures the camera with the position_x and position_z variables
gluLookAt(
posX,
0,

View file

@ -1,5 +1,5 @@
Name: y3s2-gui-project
Version: 1.0.6
Version: 1.0.7
Release: 1%{?dist}
Summary: Maze project in OpenGL for Graphics and User Interfaces lecture in year 3, semester 2