Skip to content

THREE.Clock is deprecated warning since r183 #3741

@satelllte

Description

@satelllte

Why

THREE.Clock has been deprecated since r183:
https://github.com/mrdoob/three.js/blob/master/src/core/Clock.js

and it needs migration to THREE.Timer.

Here's the warning that comes from Canvas:

Image

How to proceed?

Minimum supported version of THREE.Timer from is r178:
https://github.com/mrdoob/three.js/wiki/Migration-Guide#178--179

while react-three-fiber's minimum is r156:

Should this be considered for the next major version?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions