pmndrs / pmndrs/three-stdlib

Expected publicly documented methods of ArcballControls to be public

Open
#382 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
JavaScript
Stars
858
Forks
144
PR merge metrics
No merged PRs in 30d

Description

  • three version: ^0.164.1
  • @types/three version: ^0.164.1
  • three-stdlib version: ^2.30.1
Problem description:

Many public and documented methods on ArcballControls are marked private in three-stdlib.

Relevant code:

...

Suggested solution:

Replace the private access modifier with public.

Are these marked private intentionally?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect src/controls/ArcballControls.ts around the private declarations near line 1487 and compare them with the public methods documented in the linked three.js ArcballControls source and API documentation. Done means the documented ArcballControls methods have public access in three-stdlib's TypeScript declarations.

Written by the indexing model from the issue text.

Assessment

Tech stack
three.js, typescript
Domain
api, frontend
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.