Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SpartanJ/eepp
/ getMousePosFromView
Method
getMousePosFromView
src/eepp/window/input.cpp:321–323 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
319
}
320
321
Vector2f Input::getMousePosFromView( const View& View ) {
322
return mWindow->mapPixelToCoords( getMousePos(), View );
323
}
324
325
Uint32 Input::pushCallback( const InputCallback& cb ) {
326
mNumCallBacks++;
Callers
2
update
Method · 0.80
render
Method · 0.80
Calls
1
mapPixelToCoords
Method · 0.80
Tested by
1
render
Method · 0.64