Skip to content

Instantly share code, notes, and snippets.

@pipixdev
pipixdev / NativeCurve
Created November 23, 2023 09:58 — forked from keenanwoodall/NativeCurve
A struct that makes using animation curves with the job system easy.
using System;
using System.Runtime.CompilerServices;
using UnityEngine;
using Unity.Collections;
using static Unity.Mathematics.math;
public struct NativeCurve : IDisposable
{
public bool IsCreated => values.IsCreated;