Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/The-Powder-Toy/The-Powder-Toy
/ SetValues
Method
SetValues
src/gui/interface/DirectionSelector.cpp:105–110 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
103
}
104
105
void DirectionSelector::SetValues(float x, float y)
106
{
107
value.xValue = x;
108
value.yValue = y;
109
SetPosition(GravityValueToValue(x, y).offset);
110
}
111
112
void DirectionSelector::Draw(const ui::Point& screenPos)
113
{
Callers
1
DirectionSelector
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected