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 Modules
Commits
1a02fd53
Commit
1a02fd53
authored
Jun 26, 2015
by
Alexander Wiebel
Browse files
[STYLE #42] eliminated unused parameter and unused function
parent
2725771f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
FiberStippleToolbox/src/fiberStipples/WSampler2D.cpp
FiberStippleToolbox/src/fiberStipples/WSampler2D.cpp
+1
-8
No files found.
FiberStippleToolbox/src/fiberStipples/WSampler2D.cpp
View file @
1a02fd53
...
...
@@ -269,14 +269,7 @@ std::vector< WSampler2D > splitSamplingPoisson( const WSampler2D& sampler, size_
return
components
;
}
namespace
{
bool
myless
(
const
Vec2
&
a
,
const
Vec2
&
b
)
{
if
(
a
.
x
<
b
.
x
)
{
return
true
;}
if
(
a
.
x
==
b
.
x
&&
a
.
y
<
b
.
y
)
{
return
true
;
}
return
false
;
}
}
std
::
vector
<
WSampler2D
>
splitSamplingPoisson2
(
const
WSampler2D
&
sampler
,
const
size_t
numComponents
,
const
size_t
numsamples
,
boost
::
shared_ptr
<
WProgress
>
progress
,
std
::
string
const
&
cache
)
std
::
vector
<
WSampler2D
>
splitSamplingPoisson2
(
const
WSampler2D
&
sampler
,
const
size_t
numComponents
,
const
size_t
/*numsamples*/
,
boost
::
shared_ptr
<
WProgress
>
progress
,
std
::
string
const
&
cache
)
{
std
::
vector
<
WSampler2D
>
components
;
...
...
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