2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-14 09:26:09 +00:00

More Windows fixes & virtual destructor for CSkinnedModel

This commit is contained in:
2022-03-16 01:21:01 -04:00
parent c01152e23a
commit 5a4b5bb38d
4 changed files with 22 additions and 13 deletions

View File

@@ -52,6 +52,7 @@ public:
CSkinnedModel(const TLockedToken<CModel>& model, const TLockedToken<CSkinRules>& skinRules,
const TLockedToken<CCharLayoutInfo>& layoutInfo /*, EDataOwnership ownership*/);
CSkinnedModel(IObjectStore& store, CAssetId model, CAssetId skinRules, CAssetId layoutInfo);
virtual ~CSkinnedModel() = default;
TLockedToken<CModel>& GetModel() { return x4_model; }
const TLockedToken<CModel>& GetModel() const { return x4_model; }
@@ -79,6 +80,8 @@ class CSkinnedModelWithAvgNormals : public CSkinnedModel {
public:
CSkinnedModelWithAvgNormals(IObjectStore& store, CAssetId model, CAssetId skinRules, CAssetId layoutInfo);
~CSkinnedModelWithAvgNormals() override = default;
TConstVectorRef GetAveragedNormals() const { return &x40_averagedNormals; }
};