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
f299e524
Commit
f299e524
authored
Sep 24, 2016
by
Philipp Adolf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make get_neighbor const
parent
eba9a44f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
triangle.cpp
QTProject/triangle.cpp
+1
-1
triangle.h
QTProject/triangle.h
+1
-1
No files found.
QTProject/triangle.cpp
View file @
f299e524
...
...
@@ -192,7 +192,7 @@ void ibToTriangles(QVector<Vertex> *vb, QVector<unsigned int> &ib, QVector<Trian
}
}
Triangle
::
Neighbor
Triangle
::
Neighbors
::
get_neighbor
(
Triangle
::
Edge
::
Name
name
)
{
Triangle
::
Neighbor
Triangle
::
Neighbors
::
get_neighbor
(
Triangle
::
Edge
::
Name
name
)
const
{
switch
(
name
)
{
case
Triangle
:
:
Edge
::
Name
::
uv
:
return
this
->
uv
;
...
...
QTProject/triangle.h
View file @
f299e524
...
...
@@ -31,7 +31,7 @@ class Triangle {
Neighbor
vw
;
Neighbor
wu
;
Triangle
::
Neighbor
get_neighbor
(
Triangle
::
Edge
::
Name
name
);
Triangle
::
Neighbor
get_neighbor
(
Triangle
::
Edge
::
Name
name
)
const
;
};
Triangle
();
...
...
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