diff --git a/J/J.h b/J/J.h index 79978e8..5d98301 100644 --- a/J/J.h +++ b/J/J.h @@ -11,6 +11,3 @@ #import "fbo.h" #import "to_string.h" -@interface J : NSObject - -@end diff --git a/J/J.mm b/J/J.mm index d707e75..cab3456 100644 --- a/J/J.mm +++ b/J/J.mm @@ -8,16 +8,5 @@ #import "J.h" -@implementation J - -- (id)init -{ - self = [super init]; - if (self) { - // Initialization code here. - } - - return self; -} - -@end +// this is here, so that there is at least _something_ to compile... +// removing this file, was not a big succes... \ No newline at end of file diff --git a/J/fbo.h b/J/fbo.h index 0698303..caa74b4 100644 --- a/J/fbo.h +++ b/J/fbo.h @@ -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 RenderbuffersMap; @@ -134,5 +136,7 @@ private: } }; + +} // namespace J #endif // FBO_H diff --git a/J/shader.h b/J/shader.h index fe005b5..eea2171 100644 --- a/J/shader.h +++ b/J/shader.h @@ -13,6 +13,8 @@ // TODO: do glValidateProgram, like in the OpenGL template // TODO: add error checking at set_uniforms? +namespace J { + class shader { typedef std::map ShaderMap; @@ -182,5 +184,7 @@ private: } }; + +} // namespace J #endif // SHADER_H