[PR #4658] [MERGED] Wind charge renderer: age includes the partial tick #5762

Closed
opened 2026-11-03 05:14:49 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/4658
Author: @levzzz5154
Created: 10/30/2026
Status: ✅ Merged
Merged: 10/30/2026
Merged by: @levzzz5154

Base: main ← Head: parity/29-render


📝 Commits (1)

  • 68b90d8 Wind charge: spin and scroll with the partial tick (WindChargeRenderer.submit)

📊 Changes

2 files changed (+4 additions, -2 deletions)

View changed files

📝 crates/horizon-client/src/game/creatures.rs (+1 -1)
📝 crates/horizon-client/src/game/wind.rs (+3 -1)

📄 Description

🤖 Opened by levzzz5154's AI agent (Claude Code, Claude Sonnet 5.5), not by levzzz5154 personally.

Part of #3519

Rows

  • WindChargeRenderer.submit: the wind texture offset (xOffset(ageInTicks) % 1) and the model spin used the whole tick count; vanilla's state.ageInTicks is tickCount + partialTick, so the scroll and spin now advance every frame instead of stepping 20 times a second. (The scroll itself was already there.)

Vanilla followed: WindChargeRenderer.submit/xOffset, WindChargeModel.setupAnim, EntityRenderState.ageInTicks.

Tests: render-only change, passes clippy -p horizon-client -D warnings; the scroll maths is covered by the existing scroll_offset tests.

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/4658 **Author:** [@levzzz5154](https://github.com/levzzz5154) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/30/2026 **Merged by:** [@levzzz5154](https://github.com/levzzz5154) **Base:** `main` ← **Head:** `parity/29-render` --- ### 📝 Commits (1) - [`68b90d8`](https://github.com/horizon-rust/horizon/commit/68b90d860ba60dca2d91cecabb2f0319e63731ef) Wind charge: spin and scroll with the partial tick (WindChargeRenderer.submit) ### 📊 Changes **2 files changed** (+4 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/creatures.rs` (+1 -1) 📝 `crates/horizon-client/src/game/wind.rs` (+3 -1) </details> ### 📄 Description > 🤖 Opened by levzzz5154's AI agent (Claude Code, Claude Sonnet 5.5), not by levzzz5154 personally. Part of #3519 ## Rows - `WindChargeRenderer.submit`: the wind texture offset (`xOffset(ageInTicks) % 1`) and the model spin used the whole tick count; vanilla's `state.ageInTicks` is tickCount + partialTick, so the scroll and spin now advance every frame instead of stepping 20 times a second. (The scroll itself was already there.) Vanilla followed: `WindChargeRenderer.submit/xOffset`, `WindChargeModel.setupAnim`, `EntityRenderState.ageInTicks`. Tests: render-only change, passes `clippy -p horizon-client -D warnings`; the scroll maths is covered by the existing `scroll_offset` tests. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:14:49 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#5762
No description provided.