Skip to content

Commit ca3d14d

Browse files
committed
fix template in move.cpp
Signed-off-by: Evgenii Moiseenko <[email protected]>
1 parent 5e3d892 commit ca3d14d

File tree

26 files changed

+36
-38
lines changed

26 files changed

+36
-38
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
float move(float position, float velocity, float delta) {
2-
return position + (velocity * delta);
2+
return position + delta * velocity;
33
}

WarmUp/MovingOn/ALittleSpontaneity/task-info.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ files:
9696
visible: true
9797
placeholders:
9898
- offset: 69
99-
length: 29
99+
length: 27
100100
placeholder_text: position
101101
dependency:
102102
section: WarmUp
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
float move(float position, float velocity, float delta) {
2-
return position + (velocity * delta);
2+
return position + delta * velocity;
33
}

WarmUp/MovingOn/ConsumeAnObject/task-info.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ files:
7373
visible: true
7474
placeholders:
7575
- offset: 69
76-
length: 29
76+
length: 27
7777
placeholder_text: position
7878
dependency:
7979
section: WarmUp
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
float move(float position, float velocity, float delta) {
2-
return position + (velocity * delta);
2+
return position + delta * velocity;
33
}

WarmUp/MovingOn/DrawALine/task-info.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ files:
5757
visible: true
5858
placeholders:
5959
- offset: 69
60-
length: 29
60+
length: 27
6161
placeholder_text: position
6262
dependency:
6363
section: WarmUp
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
float move(float position, float velocity, float delta) {
2-
return position + (velocity * delta);
2+
return position + delta * velocity;
33
}

WarmUp/MovingOn/GivingDirection/task-info.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ files:
4444
visible: true
4545
placeholders:
4646
- offset: 69
47-
length: 29
47+
length: 27
4848
placeholder_text: position
4949
dependency:
5050
section: WarmUp
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
float move(float position, float velocity, float delta) {
2-
return position + (velocity * delta);
2+
return position + delta * velocity;
33
}

WarmUp/MovingOn/HavingFun/task-info.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ files:
44
- name: src/move.cpp
55
visible: true
66
placeholders:
7-
- offset: 69
8-
length: 29
9-
placeholder_text: position
10-
dependency:
11-
section: WarmUp
12-
lesson: MovingOn
13-
task: LookAround
14-
file: src/move.cpp
15-
placeholder: 1
16-
is_visible: false
7+
- offset: 69
8+
length: 27
9+
placeholder_text: position
10+
dependency:
11+
section: WarmUp
12+
lesson: MovingOn
13+
task: LookAround
14+
file: src/move.cpp
15+
placeholder: 1
16+
is_visible: false
1717
- name: src/main.cpp
1818
visible: true
1919
editable: true
2020
- name: CMakeLists.txt
2121
visible: false
22-
feedback_link: https://docs.google.com/forms/d/e/1FAIpQLScfBp0gzdxWOmXvQVdyNmeO1od7CG7zxLgNUP4LzKxLBCzkhQ/viewform?usp=pp_url&entry.2103429047=Warm+Up/Moving+On/Having+Fun
22+
feedback_link: https://docs.google.com/forms/d/e/1FAIpQLScfBp0gzdxWOmXvQVdyNmeO1od7CG7zxLgNUP4LzKxLBCzkhQ/viewform?usp=pp_url&entry.2103429047=Warm+Up/Moving+On/Having+Fun

0 commit comments

Comments
 (0)