Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
Unterteilungsalgorithmen
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kai Westerkamp
Unterteilungsalgorithmen
Commits
8bbb6a5d
Commit
8bbb6a5d
authored
Jun 23, 2016
by
Philipp Adolf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix indentation
parent
7e535564
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
subdivision.cpp
QTProject/subdivision.cpp
+8
-8
No files found.
QTProject/subdivision.cpp
View file @
8bbb6a5d
...
...
@@ -14,14 +14,14 @@ void Subdivision::init() {
shader
=
initComputeShaderProgram
();
}
QVector
<
unsigned
int
>
Subdivision
::
fillVector
(
unsigned
int
a
,
unsigned
int
b
,
unsigned
int
c
,
unsigned
int
d
){
QVector
<
unsigned
int
>
x
;
x
.
push_back
(
a
);
x
.
push_back
(
b
);
x
.
push_back
(
c
);
x
.
push_back
(
d
);
return
x
;
}
QVector
<
unsigned
int
>
Subdivision
::
fillVector
(
unsigned
int
a
,
unsigned
int
b
,
unsigned
int
c
,
unsigned
int
d
){
QVector
<
unsigned
int
>
x
;
x
.
push_back
(
a
);
x
.
push_back
(
b
);
x
.
push_back
(
c
);
x
.
push_back
(
d
);
return
x
;
}
QOpenGLShaderProgram
*
Subdivision
::
initComputeShaderProgram
(){
QString
source
=
QLatin1String
(
":/subdivision.compute"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment