mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 21:01:52 +00:00
Skeleton and AnimationClip now refcounted
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
using System;
|
||||
using GlitchyEngine.Math;
|
||||
|
||||
namespace GlitchyEngine.Renderer.Animation
|
||||
{
|
||||
public class Skeleton
|
||||
public class Skeleton : RefCounted
|
||||
{
|
||||
public Joint[] Joints ~ delete _;
|
||||
|
||||
@@ -25,7 +26,7 @@ namespace GlitchyEngine.Renderer.Animation
|
||||
|
||||
public class SkeletonPose
|
||||
{
|
||||
public Skeleton Skeleton;
|
||||
public Skeleton Skeleton ~ _.ReleaseRef();
|
||||
public JointPose[] LocalPose ~ delete _;
|
||||
public Matrix[] GlobalPose ~ delete _;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user