summaryrefslogtreecommitdiff
path: root/include/toBeSorted
diff options
context:
space:
mode:
authorelijah-thomas774 <elijahthomas774@gmail.com>2026-05-24 15:06:07 -0400
committerelijah-thomas774 <elijahthomas774@gmail.com>2026-05-24 20:34:43 -0400
commit6cea9c566ba392b5840738acf471a4ef4f980f33 (patch)
tree2a00f97d08f756f0cdf187a95bd9a69916b5e8db /include/toBeSorted
parent45cc86893d40285ef48d7da8107ce9f8011c68f4 (diff)
ActorOnRail_Ext remove duplicate set of flag inlines, conform to check/set/unset
Diffstat (limited to 'include/toBeSorted')
-rw-r--r--include/toBeSorted/d_path.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/include/toBeSorted/d_path.h b/include/toBeSorted/d_path.h
index 9f4e7fbb..1208c191 100644
--- a/include/toBeSorted/d_path.h
+++ b/include/toBeSorted/d_path.h
@@ -123,18 +123,6 @@ public:
return mSegmentTime;
}
- bool CheckFlag(u32 flag) const {
- return (mFlags & flag) != 0;
- }
-
- void ClearFlag(u32 flag) {
- mFlags &= ~flag;
- }
-
- void SetFlag(u32 flag) {
- mFlags |= flag;
- }
-
const mVec3_c &getPosition() const {
return mPosition;
}
@@ -159,11 +147,11 @@ public:
return (mFlags & flags) != 0;
}
- void offFlag(u32 flags) {
+ void unsetFlag(u32 flags) {
mFlags &= ~flags;
}
- void onFlag(u32 flags) {
+ void setFlag(u32 flags) {
mFlags |= flags;
}