MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / onMouseMoved

Method onMouseMoved

Source/Engine/Platform/UWP/UWPWindow.cpp:104–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104void UWPWindow::UWPMouse::onMouseMoved(float x, float y)
105{
106 const Float2 mousePos(x, y);
107 if (!Float2::NearEqual(mousePos, MousePosition))
108 {
109 MousePosition = mousePos;
110 OnMouseMove(mousePos);
111 }
112}
113
114void UWPWindow::UWPMouse::onPointerPressed(UWPWindowImpl::PointerData* pointer)
115{

Callers 1

OnMouseMovedFunction · 0.80

Calls 1

NearEqualFunction · 0.50

Tested by

no test coverage detected