add the OpenGL part, and Cocos3D Math Lib.
try to modify some gl files, fialed, TODO: matrix methods