File tree Expand file tree Collapse file tree 1 file changed +14
-9
lines changed Expand file tree Collapse file tree 1 file changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -29,15 +29,6 @@ class Camera extends Object3D {
2929
3030 this . type = 'Camera' ;
3131
32- /**
33- * The flag that indicates whether the camera uses a reversed depth buffer.
34- *
35- * @private
36- * @type {boolean }
37- * @default false
38- */
39- this . _reversedDepth = false ;
40-
4132 /**
4233 * The inverse of the camera's world matrix.
4334 *
@@ -66,6 +57,20 @@ class Camera extends Object3D {
6657 */
6758 this . coordinateSystem = WebGLCoordinateSystem ;
6859
60+ this . _reversedDepth = false ;
61+
62+ }
63+
64+ /**
65+ * The flag that indicates whether the camera uses a reversed depth buffer.
66+ *
67+ * @type {boolean }
68+ * @default false
69+ */
70+ get reversedDepth ( ) {
71+
72+ return this . _reversedDepth ;
73+
6974 }
7075
7176 copy ( source , recursive ) {
You can’t perform that action at this time.
0 commit comments