diff --git a/packages/webgl/src/api/model.ts b/packages/webgl/src/api/model.ts index a927453dbd..61655312d1 100644 --- a/packages/webgl/src/api/model.ts +++ b/packages/webgl/src/api/model.ts @@ -1,5 +1,5 @@ import type { IObjectOf } from "@thi.ng/api"; -import { AttribPool } from "@thi.ng/vector-pools"; +import type { AttribPool } from "@thi.ng/vector-pools"; import type { IndexBufferSpec, IWebGLBuffer } from "./buffers"; import type { AttribBufferData, IShader, UniformValues } from "./shader"; import type { ITexture } from "./texture"; diff --git a/packages/webgl/src/api/multipass.ts b/packages/webgl/src/api/multipass.ts index 3677d56d2d..dc80a12f44 100644 --- a/packages/webgl/src/api/multipass.ts +++ b/packages/webgl/src/api/multipass.ts @@ -1,5 +1,5 @@ import type { IObjectOf } from "@thi.ng/api"; -import { AttribPool } from "@thi.ng/vector-pools"; +import type { AttribPool } from "@thi.ng/vector-pools"; import type { IFbo, IndexBufferSpec } from "./buffers"; import type { InstancingSpec, ModelAttributeSpecs, ModelSpec } from "./model"; import type { diff --git a/packages/webgl/src/api/shader.ts b/packages/webgl/src/api/shader.ts index d3e209c58d..93c79d1cb0 100644 --- a/packages/webgl/src/api/shader.ts +++ b/packages/webgl/src/api/shader.ts @@ -12,7 +12,7 @@ import type { import type { Func, Sym } from "@thi.ng/shader-ast"; import type { GLSLTarget } from "@thi.ng/shader-ast-glsl"; import type { ReadonlyVec } from "@thi.ng/vectors"; -import { BlendEquation, BlendFunc } from "./blend"; +import type { BlendEquation, BlendFunc } from "./blend"; import type { ExtensionBehaviors } from "./ext"; import type { GLIntVec, diff --git a/packages/webgl/src/buffer.ts b/packages/webgl/src/buffer.ts index c9c01209ed..358536a67e 100644 --- a/packages/webgl/src/buffer.ts +++ b/packages/webgl/src/buffer.ts @@ -1,5 +1,5 @@ import type { TypedArray } from "@thi.ng/api"; -import { AttribPool } from "@thi.ng/vector-pools"; +import type { AttribPool } from "@thi.ng/vector-pools"; import type { IndexBufferSpec, IWebGLBuffer } from "./api/buffers"; import { DrawMode, diff --git a/packages/webgl/src/readpixels.ts b/packages/webgl/src/readpixels.ts index 8d18aa59b2..30f7e6eaff 100644 --- a/packages/webgl/src/readpixels.ts +++ b/packages/webgl/src/readpixels.ts @@ -1,4 +1,8 @@ -import { ITexture, ReadableTextureFormat, TextureType } from "./api/texture"; +import type { + ITexture, + ReadableTextureFormat, + TextureType, +} from "./api/texture"; import { FBO } from "./fbo"; export const readPixels = <