Returns the adjecent length of a right-angle triangle, marked here
. .. o....^^^^ Copy
. .. o....^^^^
This is just:
opposite = Math.tan(angle) * adjacent Copy
opposite = Math.tan(angle) * adjacent
Returns the adjecent length of a right-angle triangle, marked here
This is just: