Commit 8bbb6a5d by Philipp Adolf

Fix indentation

parent 7e535564
...@@ -14,14 +14,14 @@ void Subdivision::init() { ...@@ -14,14 +14,14 @@ void Subdivision::init() {
shader = initComputeShaderProgram(); shader = initComputeShaderProgram();
} }
QVector<unsigned int> Subdivision::fillVector(unsigned int a, unsigned int b, unsigned int c,unsigned int d){ QVector<unsigned int> Subdivision::fillVector(unsigned int a, unsigned int b, unsigned int c,unsigned int d){
QVector<unsigned int> x; QVector<unsigned int> x;
x.push_back(a); x.push_back(a);
x.push_back(b); x.push_back(b);
x.push_back(c); x.push_back(c);
x.push_back(d); x.push_back(d);
return x; return x;
} }
QOpenGLShaderProgram *Subdivision::initComputeShaderProgram(){ QOpenGLShaderProgram *Subdivision::initComputeShaderProgram(){
QString source = QLatin1String(":/subdivision.compute"); QString source = QLatin1String(":/subdivision.compute");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment