diff --git a/include/Model.hpp b/include/Model.hpp index d82be53b..65fbcfe1 100644 --- a/include/Model.hpp +++ b/include/Model.hpp @@ -44,9 +44,9 @@ class Model : public ::Model { } /* - * Load a model from a mesh. + * Overloaded constructor to catch when passing in a `raylib::Mesh`. It expects a `raylib::MeshUnmanaged or `::Mesh`. * - * @throws raylib::RaylibException Throws if failed to load the Modal. + * @throws raylib::RaylibException Since the model takes ownership of the Mesh, a `::Mesh` or `raylib::UnmanagedMesh` is required here. */ Model(const raylib::Mesh& mesh) { throw raylib::RaylibException("Model(mesh) constructor expects a ::Mesh or raylib::MeshUnmanaged, as it takes ownership of the Mesh itself.");