Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ofxaddons
ofxCloudLib
Commits
f86aac8b
Commit
f86aac8b
authored
Sep 30, 2017
by
alexandre burton
Browse files
ClusterMesh: option bool pour dessiner ou pas l'histoire du centroid
parent
af140c51
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ofxCloudLib/ClusterMesh.hpp
View file @
f86aac8b
...
...
@@ -156,13 +156,17 @@ class ClusterMesh
cone
.
setPosition
(
centroid
[
0
]
*
scale
,
centroid
[
1
]
*
scale
,
centroid
[
2
]
*
scale
);
}
void
draw
()
void
draw
(
bool
draw_centroid
=
true
)
{
if
(
lostTime
<
GRAPPE_AU_DELA
)
{
mesh
->
disableColors
();
mesh
->
drawVertices
();
centroid_mesh_
.
drawWireframe
();
if
(
draw_centroid
)
{
centroid_mesh_
.
drawWireframe
();
}
/*
...
...
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