Ejemplo n.º 1
0
 public SkyBox()
 {
     myVBO        = new VertexBufferObject(5);
     frontTexture = new Texture("fronttexture.png");
     frontTexture.LoadTexture();
     backTexture = new Texture("backtexture.png");
     backTexture.LoadTexture();
     rightTexture = new Texture("righttexture.png");
     rightTexture.LoadTexture();
     leftTexture = new Texture("lefttexture.png");
     leftTexture.LoadTexture();
     topTexture = new Texture("toptexture.png");
     topTexture.LoadTexture();
     bottomTexture = new Texture("bottomtexture.png");
     bottomTexture.LoadTexture();
     Generate();
 }
Ejemplo n.º 2
0
 private ObjectFile()
 {
     vbo = new VertexBufferObject(8);
 }