浏览代码

Reordered some code in twist chain constraints.

/main
Simon Bouvier-Zappa 5 年前
当前提交
a8586a98
共有 3 个文件被更改,包括 8 次插入5 次删除
  1. 7
      Assets/Constraints/TwistChain.cs
  2. 3
      Assets/Constraints/TwistChainStep0.cs
  3. 3
      Assets/Constraints/TwistChainStep1.cs

7
Assets/Constraints/TwistChain.cs


[Unity.Burst.BurstCompile]
public struct TwistChainJob : IWeightedAnimationJob
{
public ReadWriteTransformHandle rootTarget;
public ReadWriteTransformHandle tipTarget;
public ReadWriteTransformHandle rootTarget;
public ReadWriteTransformHandle tipTarget;
public FloatProperty jobWeight { get; set; }

3
Assets/Constraints/TwistChainStep0.cs


[Unity.Burst.BurstCompile]
public struct TwistChainStep0Job : IWeightedAnimationJob
{
public NativeArray<ReadWriteTransformHandle> chain;
public NativeArray<ReadWriteTransformHandle> chain;
public FloatProperty jobWeight { get; set; }

3
Assets/Constraints/TwistChainStep1.cs


[Unity.Burst.BurstCompile]
public struct TwistChainStep1Job : IWeightedAnimationJob
{
public NativeArray<ReadWriteTransformHandle> chain;
public NativeArray<ReadWriteTransformHandle> chain;
public FloatProperty jobWeight { get; set; }

正在加载...
取消
保存