ソースを参照

Merge pull request #19641 from drcmda/patch-1

TS: fix fog types
Mr.doob 6 年 前
コミット
752256bc6b
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/scenes/Fog.d.ts

+ 1 - 1
src/scenes/Fog.d.ts

@@ -12,7 +12,7 @@ export interface IFog {
  */
 export class Fog implements IFog {
 
-	constructor( hex: number, near?: number, far?: number );
+	constructor( color: Color | number | string, near?: number, far?: number );
 
 	name: string;
 

粤ICP备19079148号