* Loads a Model from the given file. * * @throws raylib::RaylibException Throws if failed to load the Model. */
| 69 | * @throws raylib::RaylibException Throws if failed to load the Model. |
| 70 | */ |
| 71 | void Load(const std::string& fileName) { |
| 72 | set(::LoadModel(fileName.c_str())); |
| 73 | if (!IsValid()) { |
| 74 | throw RaylibException("Failed to load Model from " + fileName); |
| 75 | } |
| 76 | } |
| 77 | |
| 78 | /** |
| 79 | * Loads a Model from the given Mesh. |
nothing calls this directly
no test coverage detected