fluid ~master (2024-02-07T07:38:27.1400979)
Dub
Repo
FocusDirection.distance2
fluid
tree
FocusDirection
Get the square of the distance between given box and
lastFocusBox
.
struct
FocusDirection
float
distance2
(
Rectangle
box
,
Style.Side
side
)
Meta
Source
See Implementation
fluid
tree
FocusDirection
functions
checkDirection
distance2
update
structs
WithPriority
variables
first
last
lastFocusBox
next
positional
previous
priority
Get the square of the distance between given box and lastFocusBox.