Skip to content

Instantly share code, notes, and snippets.

View firestorm713's full-sized avatar

Adalynne Quesenberry firestorm713

View GitHub Profile
@firestorm713
firestorm713 / Plane.cs
Last active August 29, 2015 14:08
Arbitrary plane deformed by a displacement map.
using UnityEngine;
using System.Collections;
using Exocortex.DSP;
//using CSML;
[ExecuteInEditMode]
public class Plane : MonoBehaviour
{
public Color DeepWaterColor = Color.blue;
public Color ShallowWaterColor = Color.white;
public Material material;
#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "basetexture.h"
#include <iostream>
#include<string>
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
@firestorm713
firestorm713 / CubeTut.cpp
Last active December 13, 2022 10:47
OpenGL draw cube and triangle
#define GLEW_STATIC
#include<stdio.h>
#include<stdlib.h>
#include<GL\glew.h>
#include<GL\GL.h>
#include<GLFW\glfw3.h>
#include<glm.hpp>
#include<gtx\transform.hpp>
#include<string>
#include<vector>