Javascript Math vectorFromAngle(a)

Description

Javascript Math vectorFromAngle(a)

function vectorFromAngle(a) {
  return [Math.cos(a), -Math.sin(a)]
}



PreviousNext

Related