30 Exception(
const std::string& whatStr) : whatStr(whatStr) {}
36 virtual const char*
what()
const throw() {
37 return whatStr.c_str();
54 Image load(
const std::string& filename,
bool flipY=
true);
Lightweight image container with basic processing utilities.
2D vector template with arithmetic, length utilities, and helpers.
virtual const char * what() const
Retrieve the explanatory string.
Definition ImageLoader.h:36
Exception(const std::string &whatStr)
Construct with an explanatory message.
Definition ImageLoader.h:30
Definition ImageLoader.cpp:7
Image load(const std::string &filename, bool flipY)
Load an image file using stb_image.
Definition ImageLoader.cpp:8