Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added comment on BlTransformAnimation class #541

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

Enzo-Demeulenaere
Copy link
Contributor

This comment was suggested by @rvillemeur to explain a bit more how the transform animation computes the transform matrix at each step of an animation

Comment on lines +9 to +11
BlTransformAnimation use BlElementAbsoluteTransformation to manage the transformation matrix, even if each transformation use BlElementLocalTransformation for its defintion. This transformation works by updating its transformation matrix, from IdentityMatrix, to target matrix, through interpolation computed at each animation step (fromMatrix interpolate: aNumber to: toMatrix)

This transformation doesn't use an origin point. Instead, It'll apply a translation, so that your shape still look like it's in the element bound. This translation is added to your transformation definition (boundingRectangle:)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Concretely, this is the comment to add, right? if this is the case, I would re-do the commit only with it. Because there is a not of noise due to Tonel version change. I don't know why this happened, since repo explicits the version to use.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I mean, Iceberg should had taken the repo version automatically at the comment of pressing the Commit button in your IDE.

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.

None yet

2 participants