fix threejs definition and tests

This commit is contained in:
Neil Stalker
2013-06-24 22:17:48 +01:00
parent 29e345ec32
commit 6cb6cdbe83
3 changed files with 76 additions and 68 deletions
+3 -2
View File
@@ -7,9 +7,9 @@
*
*/
interface WebGLRenderingContext {};
interface WebGLRenderingContext {}
module THREE {
declare module THREE {
export var REVISION: string;
// GL STATE CONSTANTS
@@ -5259,6 +5259,7 @@ module THREE {
lensFlares: LensFlareProperty[];
positionScreen: Vector3;
customUpdateCallback: () => void;
add(object: Object3D): void;
add(texture?: Texture, size?: number, distance?: number, blending?: Blending, color?: number, opacity?: number): void;
updateLensFlares(): void;
}