Skip to content

Instantly share code, notes, and snippets.

View Pater1's full-sized avatar

Pat Conner Pater1

  • EvolveLAB
  • Portland OR
View GitHub Profile
@Pater1
Pater1 / gist:c82cc02fd707667f7bc7f07121c50685
Created August 26, 2016 19:27 — forked from jstanden/gist:1489447
Simplex Noise in C# for Unity3D
using UnityEngine;
using System.Collections;
public class SimplexNoiseGenerator {
private int[] A = new int[3];
private float s, u, v, w;
private int i, j, k;
private float onethird = 0.333333333f;
private float onesixth = 0.166666667f;
private int[] T;