Does it need to be added in Renderer?
I think this function can be put in every where.
So why not put it in `ccUtils.h/.cpp`?