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
VIEW | |
1.0 0.0 0.0 0.0 | |
0.0 1.0 0.0 0.0 | |
0.0 0.0 1.0 0.0 | |
0.0 0.0 0.0 1.0 | |
PROJECTION | |
2.4142134 0.0 0.0 0.0 | |
0.0 2.4142134 0.0 0.0 | |
0.0 0.0 -1.0 -0.0 |
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
# Blender v2.69 (sub 0) OBJ File: '' | |
# www.blender.org | |
mtllib untitled.mtl | |
o Plane | |
v 1.000000 0.000000 1.000000 | |
v -1.000000 0.000000 1.000000 | |
v 1.000000 0.000000 -1.000000 | |
v -1.000000 0.000000 -1.000000 | |
vt 0.000000 1.000000 | |
vt 0.000000 0.000000 |
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
# Blender v2.69 (sub 0) OBJ File: '' | |
# www.blender.org | |
mtllib untitled.mtl | |
o Cube | |
v 1.000000 -1.000000 -1.000000 | |
v 1.000000 -1.000000 1.000000 | |
v -1.000000 -1.000000 1.000000 | |
v -1.000000 -1.000000 -1.000000 | |
v 1.000000 1.000000 -0.999999 | |
v 0.999999 1.000000 1.000001 |
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<iostream> | |
#include<vector> | |
#include<bitset> | |
const short MAX_COMPS = 4; | |
typedef std::bitset<MAX_COMPS> ComponentMask; | |
/************************************************************************/ | |
/* COMPONENT */ |
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
== Build library == | |
scons: Reading SConscript files ... | |
scons: done reading SConscript files. | |
scons: Building targets ... | |
scons: building associated VariantDir targets: libs/debug libs/release | |
g++ -o libs/release/src/Game.o -c -g -Ilibs/release/include -Iinclude src/Game.cpp | |
g++ -o libs/release/src/Graphics.o -c -g -Ilibs/release/include -Iinclude src/Graphics.cpp | |
ar rc libs/release/libppw.a libs/release/src/Game.o libs/release/src/Graphics.o | |
ranlib libs/release/libppw.a |
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 <iostream> | |
using namespace std; | |
int main(){ | |
int* pArr; | |
int arr[2] = {10,20}; | |
pArr = arr; | |
int a = 20; |
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
import os | |
import sys | |
import glob | |
libraryDirs = [ | |
os.environ['Boost_DIR'] + "\\lib64-msvc-9.0", | |
] | |
includeDirs = [ | |
os.environ['Boost_DIR'], |
NewerOlder