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
cbc4b424
Commit
cbc4b424
authored
Jun 16, 2016
by
Philipp Adolf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make QDebug accept Vertex
parent
140ce77f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
mesh.cpp
QTProject/mesh.cpp
+6
-0
mesh.h
QTProject/mesh.h
+2
-0
No files found.
QTProject/mesh.cpp
View file @
cbc4b424
#include "mesh.h"
#include "mesh.h"
QDebug
operator
<<
(
QDebug
d
,
const
Vertex
&
v
)
{
d
.
nospace
()
<<
"Vertex("
<<
v
.
pos
<<
", "
<<
v
.
normal
<<
", "
<<
v
.
tex
<<
")"
;
d
.
space
();
return
d
;
}
Mesh
::
MeshEntry
::
MeshEntry
()
Mesh
::
MeshEntry
::
MeshEntry
()
{
{
...
...
QTProject/mesh.h
View file @
cbc4b424
...
@@ -30,6 +30,8 @@ struct Vertex
...
@@ -30,6 +30,8 @@ struct Vertex
}
}
};
};
QDebug
operator
<<
(
QDebug
d
,
const
Vertex
&
v
);
class
Mesh
class
Mesh
{
{
public
:
public
:
...
...
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