When two lines cross each other so that all the angles have the same size , the result is four right angles . The top of the letter T is at right angles to the vertical line . More precisely , if a ray is placed so that its endpoint is on a line and the adjacent angles are equal , then they are right angles .