mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-06-17 20:13:41 +00:00
CFont: Make PtsToFloat() internally linked
This is only ever used within the cpp file
This commit is contained in:
parent
1c292f5e2d
commit
4861f118fb
@ -13,7 +13,7 @@ CFont::CFont(CResourceEntry *pEntry) : CResource(pEntry)
|
||||
|
||||
CFont::~CFont() = default;
|
||||
|
||||
inline float PtsToFloat(int32 Pt)
|
||||
static constexpr float PtsToFloat(int32 Pt)
|
||||
{
|
||||
// This is a bit of an arbitrary number but it works
|
||||
// 1 / (1280 / 1.333333f / 2)
|
||||
|
Loading…
x
Reference in New Issue
Block a user