Skip to content

Commit

Permalink
examples: Fix build (#2228)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixpalmer authored Aug 28, 2024
1 parent 8feda32 commit f62c3f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 198 deletions.
195 changes: 0 additions & 195 deletions examples/tutorials/lighting/app-old.ts

This file was deleted.

7 changes: 4 additions & 3 deletions examples/tutorials/lighting/app.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import {glsl, NumberArray, loadImage} from '@luma.gl/core';
// @ts-ignore Remove once package puublished
import {NumberArray, loadImage} from '@luma.gl/core';
import {
AnimationLoopTemplate,
AnimationProps,
Expand All @@ -15,7 +16,7 @@ Drawing a phong-shaded cube
</p>
`;

const vs = glsl`\
const vs = /* glsl */ `\
#version 300 es
in vec3 positions;
Expand Down Expand Up @@ -45,7 +46,7 @@ void main(void) {
}
`;

const fs = glsl`\
const fs = /* glsl */ `\
#version 300 es
precision highp float;
Expand Down

0 comments on commit f62c3f1

Please sign in to comment.