Having a problem with rotations (again)

Yes I suppose to some degree, it needs the above applied to it though, I’ve stopped using it since it doesnt give proper results. Coding anyway. Will make sure my rot-360 if rot < 0.0f works tomorrow