Skip to content

Instantly share code, notes, and snippets.

@overf10w
overf10w / Shit
Last active December 2, 2017 02:38
Shit
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DogController : MonoBehaviour
{
public PlayerController playerController;
public Transform ball;
@overf10w
overf10w / Perlin_Tiled.cs
Created October 16, 2017 06:21 — forked from Flafla2/Perlin_Tiled.cs
A slightly modified implementation of Ken Perlin's improved noise that allows for tiling the noise arbitrarily.
public class Perlin {
public int repeat;
public Perlin(int repeat = -1) {
this.repeat = repeat;
}
public double OctavePerlin(double x, double y, double z, int octaves, double persistence) {
double total = 0;