mirror of https://github.com/AxioDL/metaforce.git
CAreaOctTree: Add names to parameters in prototypes
Allows IDEs to perform better inspections at call sites.
This commit is contained in:
parent
e8f0d29a3b
commit
855fc0ced9
|
@ -42,17 +42,17 @@ public:
|
||||||
const CAreaOctTree& x1c_owner;
|
const CAreaOctTree& x1c_owner;
|
||||||
ETreeType x20_nodeType;
|
ETreeType x20_nodeType;
|
||||||
|
|
||||||
bool LineTestInternal(const zeus::CLine&, const CMaterialFilter&, float, float, float,
|
bool LineTestInternal(const zeus::CLine& line, const CMaterialFilter& filter, float lT, float hT, float maxT,
|
||||||
const zeus::CVector3f&) const;
|
const zeus::CVector3f& vec) const;
|
||||||
void LineTestExInternal(const zeus::CLine&, const CMaterialFilter&, SRayResult&, float, float, float,
|
void LineTestExInternal(const zeus::CLine& line, const CMaterialFilter& filter, SRayResult& res, float lT, float hT,
|
||||||
const zeus::CVector3f&) const;
|
float maxT, const zeus::CVector3f& dirRecip) const;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
Node(const void* ptr, const zeus::CAABox& aabb, const CAreaOctTree& owner, ETreeType type)
|
Node(const void* ptr, const zeus::CAABox& aabb, const CAreaOctTree& owner, ETreeType type)
|
||||||
: x0_aabb(aabb), x18_ptr(reinterpret_cast<const u8*>(ptr)), x1c_owner(owner), x20_nodeType(type) {}
|
: x0_aabb(aabb), x18_ptr(reinterpret_cast<const u8*>(ptr)), x1c_owner(owner), x20_nodeType(type) {}
|
||||||
|
|
||||||
bool LineTest(const zeus::CLine&, const CMaterialFilter&, float) const;
|
bool LineTest(const zeus::CLine& line, const CMaterialFilter& filter, float length) const;
|
||||||
void LineTestEx(const zeus::CLine&, const CMaterialFilter&, SRayResult&, float) const;
|
void LineTestEx(const zeus::CLine& line, const CMaterialFilter& filter, SRayResult& res, float length) const;
|
||||||
|
|
||||||
const CAreaOctTree& GetOwner() const { return x1c_owner; }
|
const CAreaOctTree& GetOwner() const { return x1c_owner; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue