You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Delta value ranging from 0 to 1 in each vector (x and y)
pub fn axis(&self) -> Vec2 {
self.delta
}
I thought from the documentation for x-axis 0 was all the way to the left, and 1 is all the way to right right.
But for the x-axis -1 is left and +1 is right. Similar for y-axis.
Maybe it should say: /// Delta value ranging from -1 to 1 in each vector (x and y)
The text was updated successfully, but these errors were encountered:
Just a documentation error:
Inside
VirtualJoystickEvent<S>
:I thought from the documentation for x-axis 0 was all the way to the left, and 1 is all the way to right right.
But for the x-axis -1 is left and +1 is right. Similar for y-axis.
Maybe it should say:
/// Delta value ranging from -1 to 1 in each vector (x and y)
The text was updated successfully, but these errors were encountered: