Skip to content

Migrate all colour values to LinearRgba from the colour crate#37

Merged
GuilhermeGSousa merged 3 commits into
masterfrom
claude/colour-value-migration-vjd6ye
Jun 19, 2026
Merged

Migrate all colour values to LinearRgba from the colour crate#37
GuilhermeGSousa merged 3 commits into
masterfrom
claude/colour-value-migration-vjd6ye

Conversation

@GuilhermeGSousa

Copy link
Copy Markdown
Owner

Replace ad-hoc [f32; 4] and glam::Vec4 colour values across the engine
with the typed LinearRgba from the color crate. Adds encase::ShaderType
to LinearRgba so it can be used directly in GPU-uniform structs like
RenderLight and WorldEnvironment without conversion boilerplate.

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_018cvaSayH5TaUEomfFBuJBd

claude added 2 commits June 19, 2026 13:59
Replace ad-hoc [f32; 4] and glam::Vec4 colour values across the engine
with the typed LinearRgba from the color crate. Adds encase::ShaderType
to LinearRgba so it can be used directly in GPU-uniform structs like
RenderLight and WorldEnvironment without conversion boilerplate.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018cvaSayH5TaUEomfFBuJBd
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018cvaSayH5TaUEomfFBuJBd
@GuilhermeGSousa GuilhermeGSousa force-pushed the claude/colour-value-migration-vjd6ye branch from 19ccb4c to 83c3021 Compare June 19, 2026 12:00
@GuilhermeGSousa GuilhermeGSousa merged commit 5bff186 into master Jun 19, 2026
12 checks passed
@GuilhermeGSousa GuilhermeGSousa deleted the claude/colour-value-migration-vjd6ye branch June 19, 2026 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants