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
SimAquaLife
GR3D
Commits
b7adcdd2
Commit
b7adcdd2
authored
Aug 09, 2020
by
patrick.lambert
Browse files
bug fixed for RIO network
parent
7b2186c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/environment/RIOBasinNetworkObserverWithContinent.java
View file @
b7adcdd2
...
...
@@ -193,7 +193,7 @@ public class RIOBasinNetworkObserverWithContinent extends ObserverListener
maxX
=
maxY
=
Double
.
NEGATIVE_INFINITY
;
minX
=
minY
=
Double
.
POSITIVE_INFINITY
;
mapContinent
=
((
BasinNetwork
S
WithContinent
)
pilot
.
getAquaticWorld
().
getEnvironment
()).
getMapContinent
();
mapContinent
=
((
RIO
BasinNetworkWithContinent
)
pilot
.
getAquaticWorld
().
getEnvironment
()).
getMapContinent
();
for
(
Path2D
.
Double
path
:
mapContinent
.
values
())
{
minX
=
Math
.
min
(
minX
,
path
.
getBounds2D
().
getMinX
());
maxX
=
Math
.
max
(
maxX
,
path
.
getBounds2D
().
getMaxX
());
...
...
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