From 022a8b67b5d076fe65308781ce2c37598347286a Mon Sep 17 00:00:00 2001 From: mckay Date: Thu, 4 Sep 2025 15:59:56 +0800 Subject: [PATCH] z --- .vscode/settings.json | 23 +++++++++++++++++++++++ application/main.cpp | 6 +++++- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..c3361ab --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,23 @@ +{ + "files.associations": { + "vector": "cpp", + "type_traits": "cpp", + "stdexcept": "cpp", + "array": "cpp", + "bitset": "cpp", + "deque": "cpp", + "initializer_list": "cpp", + "list": "cpp", + "queue": "cpp", + "stack": "cpp", + "utility": "cpp", + "xhash": "cpp", + "xstring": "cpp", + "xutility": "cpp", + "memory": "cpp", + "mutex": "cpp", + "shared_mutex": "cpp", + "chrono": "cpp", + "functional": "cpp" + } +} \ No newline at end of file diff --git a/application/main.cpp b/application/main.cpp index 46f8593..9122ef0 100644 --- a/application/main.cpp +++ b/application/main.cpp @@ -37,7 +37,11 @@ int main() // auto sphere2 = create_primitive(primitive_data_center, PRIMITIVE_TYPE_SPHERE); auto cylinder = create_primitive(primitive_data_center, PRIMITIVE_TYPE_CYLINDER); //primitive_apply_translation(sphere1, {.0, 0.0, 0.0}); - primitive_apply_scale(cylinder, {1, 1, 2}); + primitive_apply_translation(cylinder, {0.5, 0.0, 0.0}); + //primitive_apply_scale(cylinder, {1, 1, 2}); + //primitive_apply_scale(sphere1, {1, 1, 2}); + + //primitive_apply_scale(cylinder, {1, 1, 2}); std::cout << "primitive created..." << std::endl; auto runtime_blobtree = create_blobtree();