MCPcopy Index your code
hub / github.com/stemkoski/stemkoski.github.com / azimuth

Function azimuth

MathBox/mathbox-bundle.js:33064–33068  ·  view source on GitHub ↗
( vector )

Source from the content-addressed store, hash-verified

33062 // Angle around the Y axis, counter-clockwise when looking from above.
33063
33064 function azimuth( vector ) {
33065
33066 return Math.atan2( vector.z, - vector.x );
33067
33068 }
33069
33070
33071 // Angle above the XZ plane.

Callers 2

prepareFunction · 0.70
makeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected