We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84d7eac commit 8b3b4e3Copy full SHA for 8b3b4e3
src/depthkit.js
@@ -84,7 +84,7 @@ export default class Depthkit extends THREE.Object3D {
84
//
85
var pivot = new THREE.Object3D();
86
pivot.frustumCulled = false;
87
- pivot.position.z = ((this.props.farClip - this.props.nearClip)/2.0) - this.props.nearClip;
+ pivot.position.z = -((this.props.farClip - this.props.nearClip)/2.0) - this.props.nearClip;
88
89
this.add(pivot);
90
pivot.add(this._instanceMesh);
0 commit comments