aboutsummaryrefslogtreecommitdiff
path: root/src/doc
diff options
context:
space:
mode:
authormax-001 <maxsmits21@kpnmail.nl>2024-11-21 17:04:58 +0100
committermax-001 <maxsmits21@kpnmail.nl>2024-11-21 17:04:58 +0100
commitea95685b4dd2adf09a9be4e2dd9233d0cf98b1ef (patch)
tree2877243b80b0c026db7a2a618a15677156f41a56 /src/doc
parentadbd81d3937a1363af312202c7e4b5ec0bf3458d (diff)
Minor changes due to templating of Vector2
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/feature/scene.dox4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/feature/scene.dox b/src/doc/feature/scene.dox
index 5f34446..5f1214e 100644
--- a/src/doc/feature/scene.dox
+++ b/src/doc/feature/scene.dox
@@ -46,8 +46,8 @@ public:
void load_scene() {
auto & mgr = this->component_manager;
- GameObject object1 = mgr.new_object("object1", "tag_my_scene", Vector2{0, 0}, 0, 1);
- GameObject object2 = mgr.new_object("object2", "tag_my_scene", Vector2{1, 0}, 0, 1);
+ GameObject object1 = mgr.new_object("object1", "tag_my_scene", Vector2<double>{0, 0}, 0, 1);
+ GameObject object2 = mgr.new_object("object2", "tag_my_scene", Vector2<double>{1, 0}, 0, 1);
}
string get_name() const { return "my_scene"; }