calculate AABB for geometry

This commit is contained in:
ohyzha
2024-10-29 12:40:52 +02:00
parent 839efa5509
commit 5ece0acc77
2 changed files with 41 additions and 0 deletions

View File

@@ -63,6 +63,7 @@ namespace OpenVulkano
void SetOwnsMemory(bool val) { ownsMemory = val; }
bool FreeAfterUpload() const { return freeAfterUpload; }
void SetFreeAfterUpload(bool val) { freeAfterUpload = val; }
void CalculateAABB();
private:
void Swap(Geometry& other) noexcept;
};