Refactored Clear API

I'd appreciate some comments on the clearColor and clearDepth comparison methodology. I'm not sure if that's the preferred way to compare vectors, or if there's a standard epsilon that should be preferred. (A casual scan through the code didn't reveal anything)