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(); }
private ObjectFile() { vbo = new VertexBufferObject(8); }