We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent efc969a commit 6935047Copy full SHA for 6935047
1 file changed
examples/js/renderers/CSS3DRenderer.js
@@ -69,7 +69,14 @@ THREE.CSS3DRenderer = function () {
69
70
domElement.appendChild( cameraElement );
71
72
- this.setClearColor = function () {
+ this.setClearColor = function () {};
73
+
74
+ this.getSize = function() {
75
76
+ return {
77
+ width: _width,
78
+ height: _height
79
+ };
80
81
};
82
@@ -88,15 +95,6 @@ THREE.CSS3DRenderer = function () {
88
95
cameraElement.style.height = height + 'px';
89
96
90
97
91
-
92
- /**
93
- * Returns the renderers pixel size as descriptive object
94
- *
- * @returns {Object} The size object with keys 'width' and 'height'
- */
- this.getSize = function() {
98
- return {width: _width, height: _height};
99
- };
100
101
var epsilon = function ( value ) {
102
0 commit comments