Files
METH_Transcendence/site/node_modules/three/examples/jsm/objects/InstancedPoints.js
Kum1ta 57c261c689 Site
- starting pong game 3d
2024-07-30 01:08:32 +02:00

22 lines
425 B
JavaScript

import {
Mesh,
InstancedPointsNodeMaterial
} from 'three';
import InstancedPointsGeometry from '../geometries/InstancedPointsGeometry.js';
class InstancedPoints extends Mesh {
constructor( geometry = new InstancedPointsGeometry(), material = new InstancedPointsNodeMaterial() ) {
super( geometry, material );
this.isInstancedPoints = true;
this.type = 'InstancedPoints';
}
}
export default InstancedPoints;