var c = canvas.getContext('2d');
c.width = SCREEN_WIDTH;
c.height = SCREEN_HEIGHT;
// c.translate(HALF_WIDTH, HALF_HEIGHT);
c.translate3d(HALF_WIDTH,HALF_HEIGHT,10);
c.translate起作用了
c.translate3d出错:Uncaught TypeError: undefined is not a function
不是有translate3d么?为什么会报错