Skip to content

Clarify OrientModifier per-instance rotation#507

Merged
djeedai merged 2 commits intodjeedai:mainfrom
kisya-games:orient-docs
Nov 1, 2025
Merged

Clarify OrientModifier per-instance rotation#507
djeedai merged 2 commits intodjeedai:mainfrom
kisya-games:orient-docs

Conversation

@barsoosayque
Copy link
Contributor

More docs !

I've added an example and a note for OrientModifier to clarify how to use it to store per-instance rotation, since just using a regular expression such as (writer.rand() * writer.lit(3.14)).expr() is possible but wouldn't work as expected.

Example is basically a smol examples/billboard.rs.

Copy link
Owner

@djeedai djeedai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for clarifying!

@djeedai djeedai merged commit 3051729 into djeedai:main Nov 1, 2025
15 checks passed
@barsoosayque barsoosayque deleted the orient-docs branch November 1, 2025 10:21
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