@ -11,6 +11,3 @@
#import "fbo.h"
#import "to_string.h"
@interface J : NSObject
@end
@ -8,16 +8,5 @@
#import "J.h"
@implementation J
- (id)init
{
self = [super init];
if (self) {
// Initialization code here.
}
return self;
// this is here, so that there is at least _something_ to compile...
// removing this file, was not a big succes...
@ -13,6 +13,8 @@
// TODO: more error checking in debug build.
// TODO: make texture class? for easier switching between linear/nearest interpolation for example
namespace J {
class fbo {
public:
typedef std::map<GLenum, GLuint> RenderbuffersMap;
@ -134,5 +136,7 @@ private:
};
} // namespace J
#endif // FBO_H
// TODO: do glValidateProgram, like in the OpenGL template
// TODO: add error checking at set_uniforms?
class shader {
typedef std::map<GLenum, GLuint> ShaderMap;
@ -182,5 +184,7 @@ private:
#endif // SHADER_H