Fix deprecated warnings on the latest MSVC toolchain

This commit is contained in:
2026-06-09 08:24:33 +02:00
parent 2d793f685f
commit dd3437d94c
2 changed files with 4 additions and 0 deletions
@@ -489,7 +489,9 @@ public:
ModelBase* GetModel() override;
bool IntersectsEntry(int32 entryIndex, const Ray& ray, Real& distance, Vector3& normal) override;
bool IntersectsEntry(const Ray& ray, Real& distance, Vector3& normal, int32& entryIndex) override;
PRAGMA_DISABLE_DEPRECATION_WARNINGS;
bool GetMeshData(const MeshReference& ref, MeshBufferType type, BytesContainer& result, int32& count, GPUVertexLayout** layout) const override;
PRAGMA_ENABLE_DEPRECATION_WARNINGS;
MeshBase* GetMesh(const MeshReference& ref) const override;
void UpdateBounds() override;
MeshDeformation* GetMeshDeformation() const override;
+2
View File
@@ -181,7 +181,9 @@ public:
ModelBase* GetModel() override;
bool IntersectsEntry(int32 entryIndex, const Ray& ray, Real& distance, Vector3& normal) override;
bool IntersectsEntry(const Ray& ray, Real& distance, Vector3& normal, int32& entryIndex) override;
PRAGMA_DISABLE_DEPRECATION_WARNINGS;
bool GetMeshData(const MeshReference& ref, MeshBufferType type, BytesContainer& result, int32& count, GPUVertexLayout** layout) const override;
PRAGMA_ENABLE_DEPRECATION_WARNINGS;
MeshBase* GetMesh(const MeshReference& ref) const override;
MeshDeformation* GetMeshDeformation() const override;
void UpdateBounds() override;