Skip to content

Instantly share code, notes, and snippets.

View dLopreiato's full-sized avatar

Andrew Lopreiato dLopreiato

View GitHub Profile
@dLopreiato
dLopreiato / ConvexHull.cs
Last active July 4, 2023 21:39
Code Complete Convex Hull c# for Unity
/* This is taken from this blog post:
* http://loyc-etc.blogspot.ca/2014/05/2d-convex-hull-in-c-45-lines-of-code.html
*
* All I have done is renamed "DList" to "CircularList" and then wrote a wrapper for the generic C# list.
* The structure that is supposed to be used is *much* more efficient, but this works for my purposes.
*
* This can be dropped right into your Unity project and will work without any adjustments.
*/
using System.Collections.Generic;
using UnityEngine;
@dLopreiato
dLopreiato / keybase.md
Last active August 29, 2015 14:22
keybase.md

Keybase proof

I hereby claim:

  • I am dLopreiato on github.
  • I am dlopreiato (https://keybase.io/dlopreiato) on keybase.
  • I have a public key whose fingerprint is 7770 31BE B135 DBC8 A71A 3BDF 066F B5CC FBBE 2E52

To claim this, I am signing this object: