Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upfeat: Add low level support for animation blending #570
Conversation
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
bors try+ |
bot
added a commit
that referenced
this pull request
Feb 14, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
tryBuild failed |
Xaeroxe
requested changes
Feb 14, 2018
Impressive work! The newly added I generic doesn't portray a clear purpose though until you see it in use. Can we document the generic types a bit better?
| @@ -13,13 +14,16 @@ pub trait AnimationSampling: Send + Sync + 'static { | ||
| /// The interpolation primitive | ||
| type Primitive: InterpolationPrimitive + Clone + Copy + Send + Sync + 'static; | ||
| /// The channel type | ||
| - type Channel: Clone + Hash + Eq + Send + Sync + 'static; | ||
| + type Channel: Debug + Clone + Hash + Eq + Send + Sync + 'static; |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Rhuagh
Feb 14, 2018
Member
I could put it here or on every place where the channel is used, it's required for the use in AnimationCommand
Rhuagh
Feb 14, 2018
Member
I could put it here or on every place where the channel is used, it's required for the use in AnimationCommand
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
I'll do a documentation pass |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Rhuagh
Feb 14, 2018
Member
I'm also gonna add a function on the sampling trait for blending config (disabling it etc)
|
I'm also gonna add a function on the sampling trait for blending config (disabling it etc) |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Rhuagh
Feb 14, 2018
Member
@Xaeroxe I have done a doc pass, and also added a way to disable animation blending on a per target component+channel basis
|
@Xaeroxe I have done a doc pass, and also added a way to disable animation blending on a per target component+channel basis |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
torkleyy
Feb 15, 2018
Member
Also great to see some more docs!
Reviewed 3 of 10 files at r1, 7 of 7 files at r2.
Review status: all files reviewed at latest revision, 1 unresolved discussion.
Comments from Reviewable
|
Also great to see some more docs! Reviewed 3 of 10 files at r1, 7 of 7 files at r2. Comments from Reviewable |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
bors r+ |
Rhuagh commentedFeb 13, 2018
•
edited by torkleyy
Edited 1 time
-
torkleyy
edited Feb 13, 2018 (most recent)
Still requires the user to do all blend weight handling.
This change is