【发布时间】:2015-11-21 19:17:54
【问题描述】:
我阅读了以下为 webgl 编写的代码,我想使用 three.js 重写它。但是我找不到任何方法,请帮助我。
pMatrix = mat4.create();
mat4.perspective(pMatrix,1.01,gl.drawingBufferWidth/gl.drawingBufferHeight, 10.0, 300000.0);
var eciMat = [1, 0, 0, 0,
0, 0, -1, 0,
0, 1, 0, 0,
0, 0, 0, 1
];
mat4.mul(pMatrix, pMatrix, eciMat );
【问题讨论】:
标签: javascript three.js webgl