projects
/
demo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
src/uniforms.cc
@@ -0,0
+1,16
@@
+#include "uniforms.h"
+
+UniformBuffer::UniformBuffer()
+{
+ size = -1;
+}
+
+UniformBuffer::~UniformBuffer()
+{
+}
+
+bool UniformBuffer::create(int size)
+{
+ this->size = size;
+ return true;
+}