While not rendering code, I think writing a BSP compiler and accompanying traversal code is a nice exercise in vector maths.
Secondly, a deferred renderer. Not because it's the end-all answer to rendering, but it'll give you insight in another approach to rendering.