Skip to content

Instantly share code, notes, and snippets.

@dannycalleri
Created November 30, 2012 11:50
Show Gist options
  • Select an option

  • Save dannycalleri/4175331 to your computer and use it in GitHub Desktop.

Select an option

Save dannycalleri/4175331 to your computer and use it in GitHub Desktop.
Danny Calleri's version of NeHe's iOS OpenGL Lesson02
#ifndef _LESSON02_H_
#define _LESSON02_H_
#include <vector>
#include "Lesson.h"
#include "Shader.h"
#include "Texture.h"
#include "Sprite.h"
class Lesson02 : public Lesson
{
public:
Lesson02();
virtual ~Lesson02();
virtual void init();
virtual void draw();
private:
Texture* texture;
//the shader program we use for rendering
Shader* shader;
Sprite* sprite;
};
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment