Loading joysticks.go +2 −1 Original line number Diff line number Diff line Loading @@ -304,6 +304,7 @@ func PositionFromVelocity(c chan Event) chan Event{ nx,ny=x,y dt:=float32(t.Sub(lt).Seconds()) extra <-CoordsEvent{when{startMoment+t.Sub(startTime)},nx+dt*vx,ny+dt*vy} lt=t } }() Loading Loading
joysticks.go +2 −1 Original line number Diff line number Diff line Loading @@ -304,6 +304,7 @@ func PositionFromVelocity(c chan Event) chan Event{ nx,ny=x,y dt:=float32(t.Sub(lt).Seconds()) extra <-CoordsEvent{when{startMoment+t.Sub(startTime)},nx+dt*vx,ny+dt*vy} lt=t } }() Loading