port from perforce

This commit is contained in:
2026-04-18 22:31:51 +02:00
commit 8d0ab5b7cc
8409 changed files with 3972376 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
using SlimDX;
namespace Aiwaz.Contracts
{
public enum KeyFrameTarget
{
Position = 0,
Rotation,
Scale
}
public struct KeyFrame
{
KeyFrame(KeyFrameTarget argTarget, Vector3 argValue, float argTime)
{
Target = argTarget;
Value = argValue;
Time = argTime;
}
KeyFrameTarget Target;
Vector3 Value;
float Time;
}
public interface ITransformationAnimation
{
float Duration { get; }
void AddKeyFrame(KeyFrame argKeyFrame);
Matrix GetTransformationAtTime(float argT); // [0.0] - [1.0]
};
}