[DEV] normalize openGL interface for matrix