diff options
author | Johan Aires Rastén <johan@oljud.se> | 2022-09-01 11:34:15 +0200 |
---|---|---|
committer | Johan Aires Rastén <johan@oljud.se> | 2022-09-01 20:04:17 +0200 |
commit | b7e2d452336ec3eff6f3393e68443773178c2910 (patch) | |
tree | 974be095d4fadc2f6bfc384ebd6ce59c43c5ab9c /scene/3d/occluder_instance_3d.h | |
parent | 8c7be63588bf3e4ef4b780ff57936c68db5939c7 (diff) | |
download | redot-engine-b7e2d452336ec3eff6f3393e68443773178c2910.tar.gz |
Replace Vector2(i) with Size2(i) for methods returning a size
Diffstat (limited to 'scene/3d/occluder_instance_3d.h')
-rw-r--r-- | scene/3d/occluder_instance_3d.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/3d/occluder_instance_3d.h b/scene/3d/occluder_instance_3d.h index 11d731b989..69a80e63fc 100644 --- a/scene/3d/occluder_instance_3d.h +++ b/scene/3d/occluder_instance_3d.h @@ -88,15 +88,15 @@ class QuadOccluder3D : public Occluder3D { GDCLASS(QuadOccluder3D, Occluder3D); private: - Vector2 size = Vector2(1.0f, 1.0f); + Size2 size = Vector2(1.0f, 1.0f); protected: virtual void _update_arrays(PackedVector3Array &r_vertices, PackedInt32Array &r_indices) override; static void _bind_methods(); public: - Vector2 get_size() const; - void set_size(const Vector2 &p_size); + Size2 get_size() const; + void set_size(const Size2 &p_size); QuadOccluder3D(); ~QuadOccluder3D(); |