Description
Spark currently uses THREE.Clock internally in sparkRuntime.ts. In applications using Three.js r183 or later, this results in Spark relying on a deprecated Three.js API, even when the application itself has migrated to THREE.Timer.
THREE.Clock: This module has been deprecated. Please use THREE.Timer instead.
Could Spark introduce a version-compatible timing abstraction that uses THREE.Timer when available and falls back to THREE.Clock for older supported Three.js versions?
This would align Spark with current Three.js timing APIs, avoid deprecated API usage, and preserve compatibility with older Three.js releases.
Description
Spark currently uses THREE.Clock internally in sparkRuntime.ts. In applications using Three.js r183 or later, this results in Spark relying on a deprecated Three.js API, even when the application itself has migrated to THREE.Timer.
THREE.Clock: This module has been deprecated. Please use THREE.Timer instead.
Could Spark introduce a version-compatible timing abstraction that uses THREE.Timer when available and falls back to THREE.Clock for older supported Three.js versions?
This would align Spark with current Three.js timing APIs, avoid deprecated API usage, and preserve compatibility with older Three.js releases.