Right Angle Prism is used as a mirror to deviate light through 90 degree, and also as a retroreflector to deflect light through 180 degree by total internal reflection

90 degree reflection 180 degree reflection

.