Searched defs:sqrt (Results 1 – 1 of 1) sorted by relevance
97 const sqrt = Math.sqrt(speedX * speedX + speedY * speedY); constant98 const curSpeed = startYPosition <= this.preEventPosition.y ? -sqrt : sqrt; constant