Skip to content

Commit

Permalink
fix(shader-ast-stdlib): fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Jul 6, 2019
1 parent 4b6e4fe commit 4d9e126
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions packages/shader-ast-stdlib/src/noise/hash.ts
Expand Up @@ -7,6 +7,7 @@ import {
assign,
defn,
dot,
FloatSym,
fract,
mat2,
mul,
Expand All @@ -15,9 +16,10 @@ import {
sym,
vec2,
vec3,
vec4
Vec3Sym,
vec4,
Vec4Sym
} from "@thi.ng/shader-ast";
import { FloatSym, Vec3Sym, Vec4Sym } from "@thi.ng/shader-ast/api";

/**
* iq's hash PRNG producing 2D results.
Expand Down
4 changes: 2 additions & 2 deletions packages/shader-ast-stdlib/src/tex/index-coord.ts
Expand Up @@ -5,9 +5,9 @@ import {
madd,
modi,
UintTerm,
uvec2
uvec2,
UVec2Term
} from "@thi.ng/shader-ast";
import { UVec2Term } from "@thi.ng/shader-ast/api";

/**
* Inline function. Similar to `indexToUV()`, but returns uvec2 in pixel
Expand Down
2 changes: 1 addition & 1 deletion packages/shader-ast-stdlib/src/tex/read-index.ts
Expand Up @@ -4,9 +4,9 @@ import {
$xyz,
IntTerm,
IVec2Term,
Sampler2DTerm,
texture
} from "@thi.ng/shader-ast";
import { Sampler2DTerm } from "@thi.ng/shader-ast/api";
import { indexToUV } from "./index-uv";

/**
Expand Down

0 comments on commit 4d9e126

Please sign in to comment.