Skip to content

Commit

Permalink
fix(shadertools): Fix ../.. imports (#2054)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibgreen authored Mar 27, 2024
1 parent 776cf7b commit c1ff9b8
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion modules/core/src/adapter/resources/render-pass.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import type {RenderPassParameters} from '../types/parameters';
// import {Binding} from '../types/shader-layout';
import {Resource, ResourceProps} from './resource';
import {Framebuffer} from './framebuffer';
import {NumberArray} from '../..';
import {NumberArray} from '../../types';
import {QuerySet} from './query-set';

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import {TypedArray, TypedArrayConstructor} from '../..';
import {TypedArray, TypedArrayConstructor} from '../../types';
import {VertexFormat} from '../types/vertex-formats';

// import {DataType} from '../types/vertex-formats';
Expand Down
2 changes: 1 addition & 1 deletion modules/shadertools/src/modules-webgl1/project/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import {Matrix4} from '@math.gl/core';
import {glsl} from '../../lib/glsl-utils/highlight';
import {ShaderModule} from '../..';
import {ShaderModule} from '../../lib/shader-module/shader-module';

type ProjectionProps = {
modelMatrix?: readonly number[];
Expand Down
1 change: 0 additions & 1 deletion modules/webgl/src/adapter/resources/webgl-vertex-array.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import {WebGLDevice} from '../webgl-device';
import {WEBGLBuffer} from '../resources/webgl-buffer';

import {getGLFromVertexType} from '../converters/vertex-formats';
// import {AccessorObject} from '../..';
// import {getGLFromVertexType} from '../converters/vertex-formats';

/** VertexArrayObject wrapper */
Expand Down

0 comments on commit c1ff9b8

Please sign in to comment.