提交 efc969aa 编写于 作者: M Mr.doob

Merge branch 'patch-1' of https://github.com/wzr1337/three.js into dev

......@@ -88,6 +88,15 @@ THREE.CSS3DRenderer = function () {
cameraElement.style.height = height + 'px';
};
/**
* Returns the renderers pixel size as descriptive object
*
* @returns {Object} The size object with keys 'width' and 'height'
*/
this.getSize = function() {
return {width: _width, height: _height};
};
var epsilon = function ( value ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册