Commit a99e087
authored
# Objective
- `PointLight` and `SpotLight` are both `Copy`, but `DirectionalLight`
isn't.
## Solution
- Make it `Copy`. It's also a light, and the struct is comparable in
size to the others
## Testing
- CI
## Additional info
Noticed this while implementing a CPU estimate of Bevy's lighting for
the visibility calculations in a stealth system
1 parent 9a3ba33 commit a99e087
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
0 commit comments