Skip to content

Commit

Permalink
fix: createAmbientCubemapLight should return Promise
Browse files Browse the repository at this point in the history
  • Loading branch information
scarletsky committed Mar 27, 2019
1 parent 646d8df commit 2e41c77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions typescript/application.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,11 +176,11 @@ export namespace application {
createSpotLight(position?: Vector3Like, target?: Vector3Like, range?: number, color?: RGBLike, intensity?: number): SpotLight;
createPointLight(position?: Vector3Like, range?: number, color?: RGBLike, intensity?: number): PointLight;
createAmbientLight(color?: RGBLike, intensity?: number): AmbientLight;
createAmbientCubemapLight(envImage: ImageLike|TextureCube, specularIntensity?: number, diffuseIntensity?: number, exposure?: number, prefilteredCubemapSize?: number): {
createAmbientCubemapLight(envImage: ImageLike|TextureCube, specularIntensity?: number, diffuseIntensity?: number, exposure?: number, prefilteredCubemapSize?: number): Promise<{
specular: AmbientCubemapLight,
diffuse: AmbientSHLight,
environmentMap: TextureCube|Texture2D
}
}>;

loadModel(url: string, opts: {
shader?: string;
Expand Down

0 comments on commit 2e41c77

Please sign in to comment.