Adding and fixing stuff

- Fix HexChar2Int
- Remove some devisions in tween engine
- Add PathAdd function for x, y seperated instead of fvec2
- Readd text wrapping (rd7-palladium maybe)
This commit is contained in:
2025-12-15 22:16:19 +01:00
parent f19c947fc3
commit 6c38aa6f21
6 changed files with 56 additions and 17 deletions

View File

@@ -101,6 +101,8 @@ class PD_LITHIUM_API Font {
*/
void pMakeAtlas(bool final, std::vector<u8>& font_tex, int texszs,
PD::Li::Texture::Ref tex);
std::string pWrapText(const std::string& txt, float scale,
const PD::fvec2& max, PD::fvec2& dim);
/** Data Section */
int PixelHeight;