Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions examples/jsm/physics/AmmoPhysics.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ async function AmmoPhysics() {

}

/** @type {import("ammojs3").default} */
const AmmoLib = await Ammo(); // eslint-disable-line no-undef

const frameRate = 60;
Expand Down
1 change: 1 addition & 0 deletions examples/jsm/physics/JoltPhysics.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const JOLT_PATH = 'https://cdn.jsdelivr.net/npm/[email protected]/dist/jolt-ph

const frameRate = 60;

/** @type {import("jolt-physics").default | null} */
let Jolt = null;

function getShape( geometry ) {
Expand Down
1 change: 1 addition & 0 deletions examples/jsm/physics/RapierPhysics.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const frameRate = 60;
const _scale = new Vector3( 1, 1, 1 );
const ZERO = new Vector3();

/** @type {import("@dimforge/rapier3d-compat") | null} */
let RAPIER = null;

function getShape( geometry ) {
Expand Down
Loading