Merge pull request #8778 from SereznoKot/patch-1

Fix material and geometry types of Points
This commit is contained in:
Horiuchi_H
2016-03-31 15:45:13 +09:00
+5 -5
View File
@@ -4539,18 +4539,18 @@ declare namespace THREE {
export class Points extends Object3D {
/**
* @param geometry An instance of Geometry.
* @param geometry An instance of Geometry or BufferGeometry.
* @param material An instance of Material (optional).
*/
constructor(
geometry: Geometry | BufferGeometry,
material?: PointsMaterial | ShaderMaterial
geometry?: Geometry | BufferGeometry,
material?: Material
);
/**
* An instance of Geometry, where each vertex designates the position of a particle in the system.
* An instance of Geometry or BufferGeometry, where each vertex designates the position of a particle in the system.
*/
geometry: Geometry;
geometry: Geometry | BufferGeometry;
/**
* An instance of Material, defining the object's appearance. Default is a PointsMaterial with randomised colour.