Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
OpenWalnut Modules
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenWalnut
OpenWalnut Modules
Commits
1a02fd53
Commit
1a02fd53
authored
Jun 26, 2015
by
Alexander Wiebel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[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