Added some new maths types Updated shaders to use new D_Rect structure Added rect buffers to frames Misc cleanup