Raptors now use display lists
Updated submodule to get Camera fix
This commit is contained in:
parent
d61bd47ca8
commit
c069c4efe3
2 changed files with 3 additions and 1 deletions
|
@ -1 +1 @@
|
|||
Subproject commit 6209e91c2849dfb3294afa39fcd5a526b045c6ca
|
||||
Subproject commit 10f7963fae47f4195048dc5519235dafdbe5e498
|
|
@ -89,11 +89,13 @@ int main(int argc, char** argv)
|
|||
ground.load_rgb_tga("resources/ground.tga");
|
||||
wall.load_rgb_tga("resources/wall.tga");
|
||||
out.load_rgb_tga("resources/Outside.tga");
|
||||
|
||||
raptor.load_rgb_tga("resources/raptor.tga");
|
||||
raptor_model.load_ascii_off_file("resources/raptor.off");
|
||||
raptor_model.assign_texture(raptor);
|
||||
raptor_model.set_scaling(0.0025,0.0025,0.0025);
|
||||
raptor_model.set_rotation(-90,1,0,0);
|
||||
raptor_model.prepare_displaylist();
|
||||
|
||||
|
||||
maze = new Maze("resources/Map.tga", 2, ground, wall, out, raptor_model);
|
||||
|
|
Loading…
Add table
Reference in a new issue