浏览代码

Add missing functions

Temdog007 6 年之前
父节点
当前提交
519fe3a30b
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/math/SphericalHarmonics3.d.ts

+ 3 - 0
src/math/SphericalHarmonics3.d.ts

@@ -17,5 +17,8 @@ export class SphericalHarmonics3 {
 	fromArray(array: number[]): SphericalHarmonics3;
 	toArray(): number[];
 
+	getAt(normal: Vector3, target: Vector3) : Vector3;
+	getIrradianceAt(normal: Vector3, target: Vector3) : Vector3;
+
 	static getBasisAt(normal: Vector3, shBasis: number[]): void;
 };