Skip to content

Commit

Permalink
ViewportNode: Clean up (#1215)
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 authored Aug 29, 2024
1 parent 28000d8 commit e8cb4c3
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions types/three/src/nodes/display/ViewportNode.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ import { ShaderNodeObject } from "../tsl/TSLCore.js";
export type ViewportNodeScope =
| typeof ViewportNode.COORDINATE
| typeof ViewportNode.RESOLUTION
| typeof ViewportNode.TOP_LEFT
| typeof ViewportNode.BOTTOM_LEFT
| typeof ViewportNode.TOP_RIGHT
| typeof ViewportNode.BOTTOM_RIGHT;
| typeof ViewportNode.VIEWPORT
| typeof ViewportNode.UV;

declare class ViewportNode extends Node {
scope: ViewportNodeScope;
Expand All @@ -18,10 +16,8 @@ declare class ViewportNode extends Node {

static COORDINATE: "coordinate";
static RESOLUTION: "resolution";
static TOP_LEFT: "topLeft";
static BOTTOM_LEFT: "bottomLeft";
static TOP_RIGHT: "topRight";
static BOTTOM_RIGHT: "bottomRight";
static VIEWPORT: "viewport";
static UV: "uv";
}

export default ViewportNode;
Expand Down

0 comments on commit e8cb4c3

Please sign in to comment.