Skip to content

Commit

Permalink
feat: Add WebXR to default Rendering export
Browse files Browse the repository at this point in the history
WebXR wasn't exposed in the file sent by CDNs
  • Loading branch information
bruyeret committed Sep 17, 2024
1 parent a79eac0 commit 3cddb63
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/Rendering/WebXR/RenderWindowHelper/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import macro from 'vtk.js/Sources/macros';
import Constants from 'vtk.js/Sources/Rendering/WebXR/RenderWindowHelper/Constants';
import vtkActor from '@kitware/vtk.js/Rendering/Core/Actor';
import vtkLineSource from '@kitware/vtk.js/Filters/Sources/LineSource';
import vtkMapper from '@kitware/vtk.js/Rendering/Core/Mapper';
import vtkActor from 'vtk.js/Sources/Rendering/Core/Actor';
import vtkLineSource from 'vtk.js/Sources/Filters/Sources/LineSource';
import vtkMapper from 'vtk.js/Sources/Rendering/Core/Mapper';
import { GET_UNDERLYING_CONTEXT } from 'vtk.js/Sources/Rendering/OpenGL/RenderWindow/ContextProxy';
import { vec3 } from 'gl-matrix';

Expand Down
5 changes: 5 additions & 0 deletions Sources/Rendering/WebXR/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import vtkRenderWindowHelper from './RenderWindowHelper';

export default {
vtkRenderWindowHelper,
};
2 changes: 2 additions & 0 deletions Sources/Rendering/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ import Misc from './Misc';
import OpenGL from './OpenGL';
import SceneGraph from './SceneGraph';
import WebGPU from './WebGPU';
import WebXR from './WebXR';

export default {
Core,
Misc,
OpenGL,
SceneGraph,
WebGPU,
WebXR,
};

0 comments on commit 3cddb63

Please sign in to comment.