wrong type in defaultColor in OutlineEffect
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- three.js, typescript
- Domain
- computer-graphics
Research direction
Start at the OutlineEffectParameters definition and inspect how defaultColor is typed and used by OutlineEffect. Change the parameter type to Color, then verify that the declaration accepts the intended value and that the project's relevant type checks pass.
Written by the indexing model from the issue text.
Description
threeversion: 0.150.1@types/threeversion: 0.163three-stdlibversion: 2.33.0
Problem description:
defaultColor in OutlineEffectParameters for the OutlineEffect class is set to number[]. It should probably be Color
Relevant code:
export interface OutlineEffectParameters {
defaultThickness?: number | undefined
defaultColor?: number[] | undefined
defaultAlpha?: number | undefined
defaultKeepAlive?: boolean | undefined
}
Suggested solution:
Change it to be Color type.
Thank you for providing this library for us developers.
- Dominant language
- JavaScript
- Stars
- 863
- Forks
- 146
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from pmndrs/three-stdlib
-
SSAOPass height type error,It's number not booleanPossibly taken @Techsynx claimed this 23 days ago. Open
Difficulty 1/5 Under an hour Newbie friendliness 62/100
pmndrs/three-stdlib#423 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 58/100
pmndrs/three-stdlib#437 ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 42/100
pmndrs/three-stdlib#435 ·
-
OrbitControls touch crashes on Expo mobile appPossibly taken @adamistheanswer claimed this 164 days ago. Openbug
Difficulty 3/5 1-2 days Newbie friendliness 68/100
pmndrs/three-stdlib#426 · 1 comment · 1 reaction ·
-
Update MeshOpt v1Openenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
pmndrs/three-stdlib#425 ·
All issues in pmndrs/three-stdlib
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Forrest-Technologies/drover#1040 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
good first issue help wanted
Difficulty 1/5 Under an hour Newbie friendliness 90/100
erkamyaman/rust-anything#702 ·
Maintainers usually reply within 1 day
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
erkamyaman/unslop-anything#231 ·
Maintainers usually reply within 1 day