Changed the OpenGL part and the GLSL shaders to use UBO and
[demo] / src / uniforms.cc
diff --git a/src/uniforms.cc b/src/uniforms.cc
new file mode 100644 (file)
index 0000000..765a5b0
--- /dev/null
@@ -0,0 +1,16 @@
+#include "uniforms.h"
+
+UniformBuffer::UniformBuffer()
+{
+       size = -1;
+}
+
+UniformBuffer::~UniformBuffer()
+{
+}
+
+bool UniformBuffer::create(int size)
+{
+       this->size = size;
+       return true;
+}