|
ASW Lib
A.D.S. Games SDL Wrapper Library. A library targeted at Allegro4 users who want to switch to SDL3 and use modern c++.
|
Functions | |
| void | abortOnError (const std::string &message) |
| Abort program and display error message. | |
| asw::Vec2< float > | getTextureSize (const asw::Texture &tex) |
| Get texture size. | |
| asw::Vec2< int > | getTextSize (const asw::Font &font, const std::string &text) |
| Get text size. | |
| template<typename T > | |
| T | lerp (const T &a, const T &b, float t) |
| Lerp between two values. | |
| void asw::util::abortOnError | ( | const std::string & | message | ) |
| asw::Vec2< float > asw::util::getTextureSize | ( | const asw::Texture & | tex | ) |