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?
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?