Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CGoGN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
David Cazier
CGoGN
Commits
bd4f72f5
Commit
bd4f72f5
authored
Feb 18, 2015
by
Sylvain Thery
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test NIL in overdraw dart of Topo
parent
2cfa8ae9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
CGoGN/include/Algo/Render/GL2/topoRender.hpp
CGoGN/include/Algo/Render/GL2/topoRender.hpp
+3
-0
No files found.
CGoGN/include/Algo/Render/GL2/topoRender.hpp
View file @
bd4f72f5
...
...
@@ -53,6 +53,9 @@ namespace GL2
template
<
typename
MAP
>
void
TopoRender
::
overdrawDart
(
MAP
&
map
,
Dart
d
,
float
width
,
float
r
,
float
g
,
float
b
)
{
if
(
d
==
NIL
)
return
;
DartAttribute
<
unsigned
int
,
MAP
>
attIndex
=
map
.
template
getAttribute
<
unsigned
int
,
DART
,
MAP
>(
m_nameIndex
);
if
(
!
attIndex
.
isValid
())
attIndex
=
map
.
template
addAttribute
<
unsigned
int
,
DART
,
MAP
>(
m_nameIndex
);
...
...
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