Skip to content

Commit

Permalink
Fix types framebuffercube (#529)
Browse files Browse the repository at this point in the history
* update types

add missing field to FrameBufferCube

* Update regl.d.ts dist

Added missing field to FrameBufferCube

* fixes types in FramebufferCube
  • Loading branch information
nkint authored and dy committed Sep 2, 2019
1 parent ca0a862 commit 6204ca3
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
10 changes: 10 additions & 0 deletions dist/regl.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1513,6 +1513,16 @@ declare namespace REGL {

/* Resizes the FramebufferCube and all its attachments. */
resize(radius: number): REGL.FramebufferCube;

/* Faces of the FramebufferCube */
faces: [
REGL.Framebuffer,
REGL.Framebuffer,
REGL.Framebuffer,
REGL.Framebuffer,
REGL.Framebuffer
]

}

interface FramebufferCubeOptions {
Expand Down
9 changes: 9 additions & 0 deletions regl.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1513,6 +1513,15 @@ declare namespace REGL {

/* Resizes the FramebufferCube and all its attachments. */
resize(radius: number): REGL.FramebufferCube;

/* Faces of the FramebufferCube */
faces: [
REGL.Framebuffer,
REGL.Framebuffer,
REGL.Framebuffer,
REGL.Framebuffer,
REGL.Framebuffer
]
}

interface FramebufferCubeOptions {
Expand Down

0 comments on commit 6204ca3

Please sign in to comment.