mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-06-19 04:53:42 +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;
|
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
|
// This is a bit of an arbitrary number but it works
|
||||||
// 1 / (1280 / 1.333333f / 2)
|
// 1 / (1280 / 1.333333f / 2)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user