|
Last change
on this file since 3410 was
3409,
checked in by dave, 21 years ago
|
|
branches/dave/src: Ok, fehler behoben, jetzt kann man noch eigene Himmel einfuegen, je nach belieben:) enjoy./orxonox
|
|
File size:
324 bytes
|
| Line | |
|---|
| 1 | #ifndef _SKYBOX_H |
|---|
| 2 | #define _SKYBOX_H |
|---|
| 3 | #include "p_node.h" |
|---|
| 4 | #include "world_entity.h" |
|---|
| 5 | |
|---|
| 6 | class Skybox: public PNode |
|---|
| 7 | { |
|---|
| 8 | |
|---|
| 9 | |
|---|
| 10 | private: |
|---|
| 11 | GLUquadricObj *sphereObj; |
|---|
| 12 | float a,b,c; |
|---|
| 13 | |
|---|
| 14 | |
|---|
| 15 | |
|---|
| 16 | public: |
|---|
| 17 | Skybox(); |
|---|
| 18 | ~Skybox(); |
|---|
| 19 | |
|---|
| 20 | |
|---|
| 21 | void updatePosition(float x,float y,float z); |
|---|
| 22 | void draw(); |
|---|
| 23 | |
|---|
| 24 | |
|---|
| 25 | |
|---|
| 26 | |
|---|
| 27 | |
|---|
| 28 | }; |
|---|
| 29 | |
|---|
| 30 | #endif |
|---|
| 31 | |
|---|
| 32 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.