Skip to content

Commit

Permalink
chore(react-components): remove default axis gizmo tool
Browse files Browse the repository at this point in the history
  • Loading branch information
haakonflatval-cognite committed May 27, 2024
1 parent cbae4f0 commit 36a3c9b
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
type Cognite3DViewer,
type IFlexibleCameraManager
} from '@cognite/reveal';
import { AxisGizmoTool } from '@cognite/reveal/tools';
import { NavigationTool } from '../commands/NavigationTool';
import {
Vector3,
Expand Down Expand Up @@ -38,7 +37,6 @@ export class RevealRenderTarget {
private readonly _viewer: Cognite3DViewer;
private readonly _toolController: ToolControllers;
private readonly _rootDomainObject: RootDomainObject;
private _axisGizmoTool: AxisGizmoTool | undefined;
private _ambientLight: AmbientLight | undefined;
private _directionalLight: DirectionalLight | undefined;
private _cropBoxBoundingBox: Box3 | undefined;
Expand Down Expand Up @@ -125,9 +123,6 @@ export class RevealRenderTarget {
// ==================================================

public initialize(): void {
this._axisGizmoTool = new AxisGizmoTool();
this._axisGizmoTool.connect(this._viewer);

const navigationTool = new NavigationTool();
navigationTool.attach(this);
this.toolController.add(navigationTool);
Expand All @@ -143,7 +138,6 @@ export class RevealRenderTarget {
}
this.toolController.removeEventListeners();
this.toolController.dispose();
this._axisGizmoTool?.dispose();
}

public invalidate(): void {
Expand Down

0 comments on commit 36a3c9b

Please sign in to comment.