Skip to content

Commit

Permalink
Merge pull request #102 from scarletsky/master
Browse files Browse the repository at this point in the history
fix: createAmbientCubemapLight should return Promise
  • Loading branch information
Yi Shen authored Mar 27, 2019
2 parents 646d8df + 2e41c77 commit b157bb5
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 b157bb5

Please sign in to comment.