Skip to content

Instantly share code, notes, and snippets.

@Gornhoth
Gornhoth / TriangleBB.cs
Last active May 20, 2023 13:14
The overlap check of “Fast Parallel Surface and Solid Voxelisation on GPUs” by Schwarz and Seidel in C# in Unity visualised on a single triangle
using System;
using System.Collections.Generic;
using UnityEngine;
[Flags]
public enum BitValues
{
_0_ = 0,
_1_ = 1 << 0,
_2_ = 1 << 1,