I think the rect is not being draw because of the FoV?? It's definitely a problem in initWindow and not in rect();
AGGGGGHHH, stil not drawing the rect ;_; D: