Vertical angle from normal

BlitzMax Forums/BlitzMax Programming/Vertical angle from normal

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I want to retrieve the angle of a terrain slope given the normal at that position.

Both these normals would have a slope of 45 degrees:

( 0.707, 0.707, 0.0 )
( 0.577, 0.577, 0.577 )

How the heck do I calculate this?