This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This is an implementation of a Promise class that works identically | |
* to the Promise class that DeOrio uses in lecture. Hopefully this can help | |
* you further understand how a Promise class works. | |
* | |
* Lots of love, | |
* Ren Beeves <3 | |
* | |
* NOTE: I am not sure if this properly handles error propagation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########################################################### | |
# EECS 482 Platform-Independent Makefile | |
# Usage: | |
# On CAEN: $ make <your_target> | |
# On OS X: $ make osx <your_target> | |
# On Ubuntu: $ make ubuntu <your_target> | |
# | |
# Copyright 2017 Ben Reeves | |
# bgreeves@umich.edu | |
########################################################### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2379591057:test Ben$ yo angular-ui-router | |
(node:51907) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version. | |
[?] Would you like to use Sass with the Compass CSS Authoring Framework? No | |
[?] Would you like to include Twitter Bootstrap? Yes | |
[?] Would you like to use the SCSS version of Twitter Bootstrap with the Compass CSS Authoring Framework? No | |
[?] Which modules would you like to include? angular-resource.js, angular-cookies.js, angular-sanitize.js, angular-ui-router.js | |
create app/images/glyphicons-halflings.png | |
create app/images/glyphicons-halflings-white.png | |
create app/styles/bootstrap.css | |
create app/styles/main.css |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"title": "Evacuation JSON", | |
"type": "array", | |
"items": { | |
"title": "Residential Zone", | |
"description": "For simple testing, this does not necessarily have to represent a residential zone", | |
"type": "object", | |
"properties": { | |
"id": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Checks if var1 is less than var2 and stores the result in var3 | |
// Pass the arguments into the function | |
main cp less_than_left var1 | |
cp less_than_right var2 | |
// Call the less_than function | |
call less_than less_than_ra | |
// Store the return value in var3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.bgreeves.spoopysparyspeletons; | |
import android.annotation.TargetApi; | |
import android.content.Context; | |
import android.content.res.AssetFileDescriptor; | |
import android.content.res.Resources; | |
import android.media.MediaPlayer; | |
import android.os.Build; | |
import android.widget.Toast; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "Texture.h" | |
#include <sstream> | |
#include <rendering/OpenGL.h> | |
#include <resources/Image.h> | |
using std::stringstream; | |
namespace Rendering |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef BENGINE_SHADER_PROGRAM_H | |
#define BENGINE_SHADER_PROGRAM_H | |
#include <Engine.h> | |
#include <vector> | |
#include <exceptions/BengineException.h> | |
#include <rendering/Shader.h> | |
#include <rendering/UniformVariable.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef BENGINE_SCENE_H | |
#define BENGINE_SCENE_H | |
#include <Engine.h> | |
#include <core/GameObject.h> | |
#include <rendering/Camera.h> | |
#include <resources/ResourceManager.h> | |
namespace Rendering |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef BENGINE_GAMEOBJECT_H | |
#define BENGINE_GAMEOBJECT_H | |
#include <Engine.h> | |
#include <vector> | |
#include <core/Transform.h> | |
#include <util/Types.h> |
NewerOlder