-
-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update three.js * Add examples * Add OutputStructNode * Fix imports * Updates * Update patch * Delete examples
- Loading branch information
1 parent
d885b0b
commit 1e7f383
Showing
6 changed files
with
81 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule three.js
updated
12 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { ShaderNodeObject } from "../shadernode/ShaderNode.js"; | ||
import Node from "./Node.js"; | ||
|
||
export default class OutputStructNode extends Node { | ||
members: Node[]; | ||
|
||
readonly isOutputStructNode: true; | ||
|
||
constructor(...members: Node[]); | ||
} | ||
|
||
export const outputStruct: (...members: Node[]) => ShaderNodeObject<OutputStructNode>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
export interface TextureImageData { | ||
readonly data: Uint8ClampedArray; | ||
readonly height: number; | ||
readonly width: number; | ||
data: Uint8Array | Uint8ClampedArray; | ||
height: number; | ||
width: number; | ||
} | ||
|
||
export interface Texture3DImageData extends TextureImageData { | ||
readonly depth: number; | ||
depth: number; | ||
} |