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
'use strict'; | |
//UNFINISHED | |
AFRAME.registerComponent('mdmu-material-override', { | |
schema: { | |
src: {type:'map', default:''}, | |
alphaTest: {type:'number', default:0.5}, | |
transparent: {type:'boolean', default:false}, | |
opacity: {type:'number', default:1.0}, | |
shader: {type:'string', default:'standard', oneOf: ['standard', 'flat']}, |
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
/***************** | |
- A slightly modified version of receive_test.c from here: http://www.pjrc.com/teensy/benchmark_usb_serial_receive.html#code | |
- Used in Cinder projects when communicating with Serial | |
- Also tested on both Windows7/8 and Mac OSX platforms | |
TEST USAGE FOLLIOWING: | |
void InvestOttawa_2013App::startSerial() { | |
if (!mSerialOn) { |