Skip to content

Commit

Permalink
A2_2
Browse files Browse the repository at this point in the history
  • Loading branch information
ranveeraggarwal committed Oct 24, 2014
1 parent 408e1b7 commit 9fb88c2
Show file tree
Hide file tree
Showing 12 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#TRANSFORMER
The report for this bot can be found at http://www.cse.iitb.ac.in/~ranveer/graphics_2_1/
The report for this bot can be found at http://www.cse.iitb.ac.in/~ranveer/graphics_2_2/

##Movements
The components of the transformer's body are mapped to keys. Pressing one of these keys will activate the corresponding component.
Expand Down
16 changes: 8 additions & 8 deletions gl_framework.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,58 +6,58 @@ int LoadGLTextures()
/* load an image file directly as a new OpenGL texture */
texture[0] = SOIL_load_OGL_texture
(
"texture0.jpg",
"textures/texture0.jpg",
SOIL_LOAD_AUTO,
SOIL_CREATE_NEW_ID,
SOIL_FLAG_INVERT_Y
);

texture[1] = SOIL_load_OGL_texture
(
"texture1.jpg",
"textures/texture1.jpg",
SOIL_LOAD_AUTO,
SOIL_CREATE_NEW_ID,
SOIL_FLAG_INVERT_Y
);

texture[2] = SOIL_load_OGL_texture
(
"texture_ground.jpg",
"textures/texture_ground.jpg",
SOIL_LOAD_AUTO,
SOIL_CREATE_NEW_ID,
SOIL_FLAG_INVERT_Y
);
texture[3] = SOIL_load_OGL_texture
(
"texture_night.jpg",
"textures/texture_night.jpg",
SOIL_LOAD_AUTO,
SOIL_CREATE_NEW_ID,
SOIL_FLAG_INVERT_Y
);
texture[4] = SOIL_load_OGL_texture
(
"texture_sea.jpg",
"textures/texture_sea.jpg",
SOIL_LOAD_AUTO,
SOIL_CREATE_NEW_ID,
SOIL_FLAG_INVERT_Y
);
texture[5] = SOIL_load_OGL_texture
(
"night.jpg",
"textures/night.jpg",
SOIL_LOAD_AUTO,
SOIL_CREATE_NEW_ID,
SOIL_FLAG_INVERT_Y
);
texture[6] = SOIL_load_OGL_texture
(
"cmap.png",
"textures/cmap.png",
SOIL_LOAD_AUTO,
SOIL_CREATE_NEW_ID,
SOIL_FLAG_INVERT_Y
);
texture[7] = SOIL_load_OGL_texture
(
"tyre.jpg",
"textures/tyre.jpg",
SOIL_LOAD_AUTO,
SOIL_CREATE_NEW_ID,
SOIL_FLAG_INVERT_Y
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes

0 comments on commit 9fb88c2

Please sign in to comment.