1
0
Эх сурвалжийг харах

TS: Add CannonPhysics.d.ts.

Mugen87 6 жил өмнө
parent
commit
f099bf3e1b

+ 12 - 0
examples/jsm/physics/CannonPhysics.d.ts

@@ -0,0 +1,12 @@
+import {
+	Mesh,
+	Vector3
+} from '../../../src/Three';
+
+export class CannonPhysics {
+
+	constructor();
+	addMesh( mesh: Mesh, mass: number ): void;
+	setMeshPosition( mesh: Mesh, position: Vector3, index: number ): void;
+
+}

粤ICP备19079148号