stride3d/stride

[Animation] Messy curve/animation/evaluator API

オープン

#449 opened on 2019/05/18

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)C# (886 件のフォーク)batch import
area-Graphicsenhancementgood first issue

Repository metrics

Stars
 (6,001 個のスター)
PR merge metrics
 (平均マージ 10d 11h) (30d で 22 merged PRs)

説明

Release Type: Github

Version: Latest

Platform(s): Any

Describe the bug The animation/curve API as it is is not very maintainable and quite restrictive, there's no reason now that generics supports unmanaged and interface type constraints to have two implementation of a class differing in only the generic type they chose, ex : AnimationCurveEvaluatorOptimizedVector3Group / AnimationCurveEvaluatorOptimizedVector4Group. We can replace 2/3 of the files within /Animations by implementing and adding an IInterpolation interface on our math types and including it as a constraint on our generics requiring that kind of features.

コントリビューターガイド