- starting pong game 3d
This commit is contained in:
Kum1ta
2024-07-30 01:08:32 +02:00
parent d27ab24c5e
commit 57c261c689
1284 changed files with 680273 additions and 0 deletions

View File

@ -0,0 +1,21 @@
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;