This file contains hidden or 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
import cProfile | |
import random | |
class Simulation: | |
def run(self): | |
self.names = [{'name':'david','spouse':'tyler'},{'name':'tyler','spouse':'david'}, | |
{'name':'jon','spouse':'bonnie'},{'name':'bonnie','spouse':'jon'}, | |
{'name':'jake','spouse':'caitlin'},{'name':'caitlin','spouse':'jake'}, | |
{'name':'dad', 'spouse':'mom'},{'name':'mom','spouse':'dad'}] | |
okay = False |
This file contains hidden or 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 "screencasts.h" | |
/* | |
* main() | |
* ---- | |
* Start up GLUT and tell it what to do | |
*/ | |
int main(int argc,char* argv[]) | |
{ | |
initializeGlobals(); |
This file contains hidden or 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 "screencasts.h" | |
/* | |
* main() | |
* ---- | |
* Start up GLUT and tell it what to do | |
*/ | |
int main(int argc,char* argv[]) | |
{ | |
initializeGlobals(); |
This file contains hidden or 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 "screencasts.h" | |
/* | |
* main() | |
* ---- | |
* Start up GLUT and tell it what to do | |
*/ | |
int main(int argc,char* argv[]) | |
{ | |
initializeGlobals(); |
This file contains hidden or 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 "screencasts.h" | |
/* | |
* main() | |
* ---- | |
* Start up GLUT and tell it what to do | |
*/ | |
int main(int argc,char* argv[]) | |
{ | |
initializeGlobals(); |
This file contains hidden or 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
int main(int argc,char* argv[]) | |
{ | |
initializeGlobals(); | |
/* screencast specific variables */ | |
windowName = "OpenGL screenscasts 15: Textures part 2"; | |
screencastID = 15; | |
dim = 4; | |
fov = 50; | |
th = -25; | |
ph = 15; |
This file contains hidden or 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 "screencasts.h" | |
/* | |
* main() | |
* ---- | |
* Start up GLUT and tell it what to do | |
*/ | |
int main(int argc,char* argv[]) | |
{ | |
initializeGlobals(); |
This file contains hidden or 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 "screencasts.h" | |
/* | |
* main() | |
* ---- | |
* Start up GLUT and tell it what to do | |
*/ | |
int main(int argc,char* argv[]) | |
{ | |
initializeGlobals(); |
This file contains hidden or 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 "screencasts.h" | |
/* | |
* main() | |
* ---- | |
* Start up GLUT and tell it what to do | |
*/ | |
int main(int argc,char* argv[]) | |
{ | |
initializeGlobals(); |
This file contains hidden or 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
# Target to build | |
#TARGET = 011 012 | |
TARGET = 012 | |
#EXECS = ./executables/011 ./executables/012 | |
EXECS = ./executables/012 | |
# Libraries - LINUX | |
#LIBS=-lglut -lGLU | |
# Libraries - OSX | |
LIBS=-framework OpenGL -framework GLUT |