stride3d/stride

[Animation] Messy curve/animation/evaluator API

Open

#449 geöffnet am 18. Mai 2019

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C# (886 Forks)batch import
area-Graphicsenhancementgood first issue

Repository-Metriken

Stars
 (6.001 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 10T 11h) (22 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide