Skip to content

Instantly share code, notes, and snippets.

@vvrvvd
vvrvvd / IDisposableJob.cs
Last active August 2, 2021 10:16
Jobs extensions utils.
// <copyright file="IDisposableJob.cs" company="vvrvvd">
// Copyright (c) vvrvvd. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// </copyright>
using Unity.Jobs;
/// <summary>
/// Interface adding Dispose() method to IJob interface.
/// </summary>
@vvrvvd
vvrvvd / ParticleSystemCulling.cs
Last active May 27, 2024 21:14
Custom Particle System culling for Unity.
using System;
using UnityEngine;
public class ParticleSystemCulling : MonoBehaviour
{
[Serializable]
public struct SerializableBoundingSphere
{
@vvrvvd
vvrvvd / BezierUtils.cs
Last active August 1, 2021 16:36
Vector, Quaternion, Physics, Normals etc. utils
// <copyright file="BezierUtils.cs" company="vvrvvd">
// Copyright (c) vvrvvd. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// </copyright>
using UnityEngine;
namespace SplineEditor
{
/// <summary>