mapbox / mapbox/mapbox-scenekit
FocusSquare binary issue?
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 232
- Forks
- 50
- PR merge metrics
- No merged PRs in 30d
Description
`Binary operator '+='` cannot be applied to two 'SCNVector3' operands
```
s1.position += SCNVector3Make(-(sl / 2 - c), -(sl - c), 0)
s2.position += SCNVector3Make(sl / 2 - c, -(sl - c), 0)
s3.position += SCNVector3Make(-sl, -sl / 2, 0)
s4.position += SCNVector3Make(sl, -sl / 2, 0)
s5.position += SCNVector3Make(-sl, sl / 2, 0)
s6.position += SCNVector3Make(sl, sl / 2, 0)
s7.position += SCNVector3Make(-(sl / 2 - c), sl - c, 0)
s8.position += SCNVector3Make(sl / 2 - c, sl - c, 0)
```
Contributor 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.
Research direction
The issue shows FocusSquare position updates using '+=' with SCNVector3 values, but does not name the source file or expected behavior. Locate these statements in the project, inspect how SCNVector3 positions are updated elsewhere, and confirm the project builds with the intended position changes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- computer-graphics, mobile-dev
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100