Added dislay list support for 3D models
This commit is contained in:
parent
6209e91c28
commit
c4a0218d62
3 changed files with 31 additions and 0 deletions
|
@ -112,6 +112,7 @@ int main(int argc, char** argv)
|
|||
raptor.assign_texture(raptor_texture);
|
||||
raptor.set_scaling(0.01,0.01,0.01);
|
||||
raptor.set_rotation(-90,1,0,0);
|
||||
raptor.prepare_displaylist();
|
||||
|
||||
|
||||
glutTimerFunc(50,update_angle,0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue