Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OCSR
UMANS
Commits
c6f7ee61
Commit
c6f7ee61
authored
Apr 09, 2020
by
VAN TOLL Wouter
Browse files
Merge branch 'master' into GUI
parents
ac76d7bc
d86d1675
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Engine/core/worldToric.cpp
View file @
c6f7ee61
...
...
@@ -86,9 +86,9 @@ void WorldToric::DoStep_MoveAllAgents()
x
-=
width_
;
else
if
(
x
<
-
halfWidth
)
x
+=
width_
;
if
(
y
>
half
Width
)
if
(
y
>
half
Height
)
y
-=
height_
;
else
if
(
y
<
-
half
Width
)
else
if
(
y
<
-
half
Height
)
y
+=
height_
;
agent
->
setPosition
(
Vector2D
(
x
,
y
));
...
...
Write
Preview
Supports
Markdown
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