Color's representation as a series of 4 floats is inconsistent
Open
A-Rendering
C-Code-Quality
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 171
Description
In some cases (like Gizmos) this is stored as an `[f32; 4]`. In other places, like `StandardMaterialUniform`, this is a `Vec4`. I think a `[f32;4]` is slightly more clear, but I really don't care which one we standardize on.
Contributor guide
Research direction
Start by locating the color representations used by Gizmos and StandardMaterialUniform, then trace other four-float color representations across the relevant rendering code. Decide which representation should be standardized and update the affected uses consistently; done means the inconsistent forms have been resolved and the relevant checks still pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- computer-graphics, game-dev
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100