port to contact4 (not using events yet)

This commit is contained in:
Green Sky
2025-03-10 15:09:45 +01:00
parent 7a54552bd2
commit dacda24390
18 changed files with 133 additions and 122 deletions

View File

@@ -5,7 +5,7 @@
#include <iostream>
bool addParticipation(Contact3Handle c, ObjectHandle o) {
bool addParticipation(ContactHandle4 c, ObjectHandle o) {
bool was_new {false};
assert(static_cast<bool>(o));
assert(static_cast<bool>(c));
@@ -25,7 +25,7 @@ bool addParticipation(Contact3Handle c, ObjectHandle o) {
return was_new;
}
void removeParticipation(Contact3Handle c, ObjectHandle o) {
void removeParticipation(ContactHandle4 c, ObjectHandle o) {
assert(static_cast<bool>(o));
assert(static_cast<bool>(c));