Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ddnet/ddnet
/ SetPosition
Method
SetPosition
src/engine/client/text.cpp:936–942 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
934
}
935
936
void CTextCursor::SetPosition(vec2 Position)
937
{
938
m_StartX = Position.x;
939
m_StartY = Position.y;
940
m_X = Position.x;
941
m_Y = Position.y;
942
}
943
944
struct SFontLanguageVariant
945
{
Callers
2
Text
Method · 0.45
TEST_F
Function · 0.45
Calls
no outgoing calls
Tested by
1
TEST_F
Function · 0.36