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
G
gs-boids
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
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
graphstream
gs-boids
Commits
b5a136cd
Commit
b5a136cd
authored
Mar 14, 2012
by
gsavin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
float -> double for the area attribute
parent
1ac551cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/org/graphstream/boids/BoidGraph.java
src/org/graphstream/boids/BoidGraph.java
+3
-3
No files found.
src/org/graphstream/boids/BoidGraph.java
View file @
b5a136cd
...
...
@@ -70,7 +70,7 @@ public class BoidGraph extends AdjacencyListGraph {
* The radius of the explored area. The real area range is [-area..area] in
* all three dimensions.
*/
protected
float
area
;
protected
double
area
;
/**
* Number of milliseconds to sleep between each particle computation step.
...
...
@@ -193,11 +193,11 @@ public class BoidGraph extends AdjacencyListGraph {
return
space
;
}
public
float
getArea
()
{
public
double
getArea
()
{
return
area
;
}
public
void
setArea
(
float
area
)
{
public
void
setArea
(
double
area
)
{
this
.
area
=
area
;
Anchor
lo
=
new
Anchor
(-
area
,
-
area
,
-
area
);
...
...
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