aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic-extension/MapMesh.cpp
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2023-10-28 11:40:07 +0200
committer hop311 <hop3114@gmail.com>2023-11-07 23:02:34 +0100
commit9304fd4e109c27a7dfb487a15c9a52c4055ee485 (patch)
tree01e3782174afc029310b87a1eb04f834267407ea /extension/src/openvic-extension/MapMesh.cpp
parentd113649c115b687a30a2040161d8570907c9141b (diff)
Astyle formatting (with manual cleanup)
Diffstat (limited to 'extension/src/openvic-extension/MapMesh.cpp')
-rw-r--r--extension/src/openvic-extension/MapMesh.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/extension/src/openvic-extension/MapMesh.cpp b/extension/src/openvic-extension/MapMesh.cpp
index 269360a..39cee41 100644
--- a/extension/src/openvic-extension/MapMesh.cpp
+++ b/extension/src/openvic-extension/MapMesh.cpp
@@ -21,10 +21,14 @@ void MapMesh::_bind_methods() {
ClassDB::bind_method(D_METHOD("get_core_aabb"), &MapMesh::get_core_aabb);
ClassDB::bind_method(D_METHOD("is_valid_uv_coord"), &MapMesh::is_valid_uv_coord);
- ADD_PROPERTY(PropertyInfo(Variant::FLOAT, "aspect_ratio", PROPERTY_HINT_NONE, "suffix:m"), "set_aspect_ratio", "get_aspect_ratio");
- ADD_PROPERTY(PropertyInfo(Variant::FLOAT, "repeat_proportion", PROPERTY_HINT_NONE, "suffix:m"), "set_repeat_proportion", "get_repeat_proportion");
- ADD_PROPERTY(PropertyInfo(Variant::INT, "subdivide_width", PROPERTY_HINT_RANGE, "0,100,1,or_greater"), "set_subdivide_width", "get_subdivide_width");
- ADD_PROPERTY(PropertyInfo(Variant::INT, "subdivide_depth", PROPERTY_HINT_RANGE, "0,100,1,or_greater"), "set_subdivide_depth", "get_subdivide_depth");
+ ADD_PROPERTY(PropertyInfo(Variant::FLOAT, "aspect_ratio", PROPERTY_HINT_NONE, "suffix:m"),
+ "set_aspect_ratio", "get_aspect_ratio");
+ ADD_PROPERTY(PropertyInfo(Variant::FLOAT, "repeat_proportion", PROPERTY_HINT_NONE, "suffix:m"),
+ "set_repeat_proportion", "get_repeat_proportion");
+ ADD_PROPERTY(PropertyInfo(Variant::INT, "subdivide_width", PROPERTY_HINT_RANGE, "0,100,1,or_greater"),
+ "set_subdivide_width", "get_subdivide_width");
+ ADD_PROPERTY(PropertyInfo(Variant::INT, "subdivide_depth", PROPERTY_HINT_RANGE, "0,100,1,or_greater"),
+ "set_subdivide_depth", "get_subdivide_depth");
}
void MapMesh::_request_update() {