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
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
6f2f05fd
Commit
6f2f05fd
authored
Apr 13, 2010
by
Mathias Goldau
Browse files
[MERGE]
parents
293bf728
f45f8191
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/modules/fiberDisplay/WKdTree.cpp
src/modules/fiberDisplay/WKdTree.cpp
+2
-0
No files found.
src/modules/fiberDisplay/WKdTree.cpp
View file @
6f2f05fd
...
...
@@ -25,6 +25,7 @@
#include <algorithm>
#include <vector>
#include "../../common/WAssert.h"
#include "../../common/WLogger.h"
#include "WKdTree.h"
...
...
@@ -32,6 +33,7 @@
WKdTree
::
WKdTree
(
int
size
,
float
*
pointArray
)
:
m_size
(
size
),
m_pointArray
(
pointArray
)
{
WAssert
(
size
>
2
,
"The current kD-tree implementation works only with at least 3 vertices."
);
m_tree
.
clear
();
m_tree
.
resize
(
size
);
...
...
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