From e2cd7394aea813175a1efc78b350a4939d6bfec3 Mon Sep 17 00:00:00 2001 From: fallenoak Date: Sun, 12 Oct 2025 11:08:37 -0500 Subject: [PATCH] feat(model): stub CM2Model::AttachToParent --- src/model/CM2Model.cpp | 4 ++++ src/model/CM2Model.hpp | 1 + 2 files changed, 5 insertions(+) diff --git a/src/model/CM2Model.cpp b/src/model/CM2Model.cpp index 85404df..50d80aa 100644 --- a/src/model/CM2Model.cpp +++ b/src/model/CM2Model.cpp @@ -561,6 +561,10 @@ void CM2Model::AnimateST() { // TODO } +void CM2Model::AttachToParent(CM2Model* parent, uint32_t id, const C3Vector* position, int32_t a5) { + // TODO +} + void CM2Model::AttachToScene(CM2Scene* scene) { this->DetachFromScene(); diff --git a/src/model/CM2Model.hpp b/src/model/CM2Model.hpp index 1a757fe..7f6f05d 100644 --- a/src/model/CM2Model.hpp +++ b/src/model/CM2Model.hpp @@ -140,6 +140,7 @@ class CM2Model { void AnimateMT(const C44Matrix* view, const C3Vector& a3, const C3Vector& a4, float a5, float a6); void AnimateMTSimple(const C44Matrix* view, const C3Vector& a3, const C3Vector& a4, float a5, float a6); void AnimateST(); + void AttachToParent(CM2Model* parent, uint32_t id, const C3Vector* position, int32_t a5); void AttachToScene(CM2Scene* scene); void CancelDeferredSequences(uint32_t boneIndex, bool a3); void DetachFromScene();