From 855fc0ced9455225cd9174cf5b97e60efeedaa33 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 25 Mar 2020 00:45:30 -0400 Subject: [PATCH] CAreaOctTree: Add names to parameters in prototypes Allows IDEs to perform better inspections at call sites. --- Runtime/Collision/CAreaOctTree.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Runtime/Collision/CAreaOctTree.hpp b/Runtime/Collision/CAreaOctTree.hpp index d071ea0db..fec3b9455 100644 --- a/Runtime/Collision/CAreaOctTree.hpp +++ b/Runtime/Collision/CAreaOctTree.hpp @@ -42,17 +42,17 @@ public: const CAreaOctTree& x1c_owner; ETreeType x20_nodeType; - bool LineTestInternal(const zeus::CLine&, const CMaterialFilter&, float, float, float, - const zeus::CVector3f&) const; - void LineTestExInternal(const zeus::CLine&, const CMaterialFilter&, SRayResult&, float, float, float, - const zeus::CVector3f&) const; + bool LineTestInternal(const zeus::CLine& line, const CMaterialFilter& filter, float lT, float hT, float maxT, + const zeus::CVector3f& vec) const; + void LineTestExInternal(const zeus::CLine& line, const CMaterialFilter& filter, SRayResult& res, float lT, float hT, + float maxT, const zeus::CVector3f& dirRecip) const; public: Node(const void* ptr, const zeus::CAABox& aabb, const CAreaOctTree& owner, ETreeType type) : x0_aabb(aabb), x18_ptr(reinterpret_cast(ptr)), x1c_owner(owner), x20_nodeType(type) {} - bool LineTest(const zeus::CLine&, const CMaterialFilter&, float) const; - void LineTestEx(const zeus::CLine&, const CMaterialFilter&, SRayResult&, float) const; + bool LineTest(const zeus::CLine& line, const CMaterialFilter& filter, float length) const; + void LineTestEx(const zeus::CLine& line, const CMaterialFilter& filter, SRayResult& res, float length) const; const CAreaOctTree& GetOwner() const { return x1c_owner; }