Skip to content

Commit

Permalink
Fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
sawa-zen committed Dec 18, 2018
1 parent 006ef4d commit be5b633
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Material.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,13 @@ interface TUniform {
value: HTMLImageElement;
}

interface FUniform {
type: 'f';
value: number;
}

interface Uniforms {
[name: string]: V4Uniform | TUniform;
[name: string]: V4Uniform | TUniform | FUniform;
}

enum Blending {
Expand Down

0 comments on commit be5b633

Please sign in to comment.