Skip to content

Commit

Permalink
--amend
Browse files Browse the repository at this point in the history
  • Loading branch information
mistic100 committed Jul 24, 2023
1 parent a32bd55 commit 435f471
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/little-planet-adapter/src/LittlePlanetAdapter.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { Position, Size, TextureData, Viewer } from '@photo-sphere-viewer/core';
import type { EquirectangularAdapterConfig, Position, Size, TextureData, Viewer } from '@photo-sphere-viewer/core';
import { EquirectangularAdapter, events } from '@photo-sphere-viewer/core';
import { BufferGeometry, Euler, MathUtils, Matrix4, Mesh, PlaneGeometry, ShaderMaterial, Texture } from 'three';

Expand All @@ -17,8 +17,8 @@ export class LittlePlanetAdapter extends EquirectangularAdapter {

private uniforms: ShaderMaterial['uniforms'];

constructor(viewer: Viewer) {
super(viewer, undefined);
constructor(viewer: Viewer, config?: EquirectangularAdapterConfig) {
super(viewer, config);

this.viewer.state.littlePlanet = true;

Expand Down

0 comments on commit 435f471

Please sign in to comment.