Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import GLOOP.*;
- class Ring{
- GLKamera Schwenkkamera;
- GLLicht licht;
- GLTastatur Tastatur;
- GLHimmel himmel;
- GLTorus ring1,ring2,ring3,ring4,ring5;
- Ring() {
- Schwenkkamera = new GLSchwenkkamera();
- Tastatur = new GLTastatur();
- licht = new GLLicht();
- ring1 = new GLTorus (-280,70,0,120,10);
- ring2 = new GLTorus (0,70,0,120,10);
- ring3 = new GLTorus (+280,70,0,120,10);
- ring4 = new GLTorus (-140,-70,0,120,10);
- ring5 = new GLTorus (+140,-70,0,120,10);
- ring1.setzeFarbe(0,0,1);
- ring2.setzeFarbe(0,0,0);
- ring3.setzeFarbe(1,0,0);
- ring4.setzeFarbe(1,1,0);
- ring5.setzeFarbe(0,1,0);
- ring1.drehe (0,-10,0);
- ring2.drehe (0,-10,0);
- ring3.drehe (0,-10,0);
- ring4.drehe (0,10,0);
- ring5.drehe (0,10,0);
- himmel = new GLHimmel("C:/Users/clrs/Desktop/untericht2/textures/himmel.jpg");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement