Skip to content

Instantly share code, notes, and snippets.

View atduskgreg's full-sized avatar

Greg Borenstein atduskgreg

View GitHub Profile
11.252J Computer Games and Simulations for Investigation and Education http://student.mit.edu/catalog/m11b.html#11.252
CMS.809 Transmedia Storytelling: Modern Science Fiction http://student.mit.edu/catalog/mCMSa.html#CMS.809
MAS.864 The Nature of Mathematical Modeling
NSOpenGLPixelFormatAttribute attr[] =
{
NSOpenGLPFADoubleBuffer,
NSOpenGLPFAAccelerated,
NSOpenGLPFADepthSize, 24,
NSOpenGLPFAMultisample,
NSOpenGLPFASampleBuffers, 1,
NSOpenGLPFASamples, 4,
(NSOpenGLPixelFormatAttribute) 0
};
using UnityEngine;
using System.Collections;
public class interact_boulder : MonoBehaviour {
public GUISkin boxText;
public bool showBox;
public float GUIScreenWidth = Screen.width/2;
public float GUIScreenHeight = Screen.height/2;
public float GUIScreenToolWidth = Screen.width - 5;
{{pass_manager.isPassing}}