Skip to content

Instantly share code, notes, and snippets.

View Wikzo's full-sized avatar

Gustav Wikzo

View GitHub Profile
/*
Simple video scrubbing example using Leap Motion
Made for Processing – requires LeapMotionP5 library
An open hand pauses the video and then allows you to scrub the video left and right.
Closing your hand plays the video.
http://brendandawes.com/blog/leapmotion
*/
@MattRix
MattRix / RXLookingGlass.cs
Created November 3, 2014 21:09
This class wraps an internal Unity method that lets you to check if a ray intersects a mesh. Place it in an Editor folder.
using UnityEngine;
using UnityEditor;
using System.Collections;
using System;
using System.Linq;
using System.Reflection;
[InitializeOnLoad]
public class RXLookingGlass
{