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 os | |
| import sys | |
| import glob | |
| libraryDirs = [ | |
| os.environ['Boost_DIR'] + "\\lib64-msvc-9.0", | |
| ] | |
| includeDirs = [ | |
| os.environ['Boost_DIR'], |
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 <iostream> | |
| using namespace std; | |
| int main(){ | |
| int* pArr; | |
| int arr[2] = {10,20}; | |
| pArr = arr; | |
| int a = 20; |
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
| == 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 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<iostream> | |
| #include<vector> | |
| #include<bitset> | |
| const short MAX_COMPS = 4; | |
| typedef std::bitset<MAX_COMPS> ComponentMask; | |
| /************************************************************************/ | |
| /* COMPONENT */ |
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
| # 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 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
| # 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 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
| 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 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
| Olaf's turn. | |
| Behemoth used 'Sketch'. Dealing 20.0 critical damage. Gigas has 921.88855 left. | |
| Ignaz's turn. | |
| Gigas used 'Shadow Ball'. Dealing 80.0 critical damage. Behemoth has 438.0927 left. | |
| Olaf's turn. | |
| Behemoth used 'Extremespeed'. Dealing 80.0 damage. Gigas has 841.88855 left. | |
| Ignaz's turn. |
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
| class Foo { | |
| public: | |
| Foo() | |
| { | |
| // wird weg optimiert oO | |
| std::cout << "construct\n"; | |
| } | |
| ~Foo() | |
| { |
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
| <html> | |
| <body> | |
| <canvas id='canvas' width='300' height='300'></canvas> | |
| <script type="text/javascript"> | |
| window.requestAnimFrame = (function(){ | |
| return window.requestAnimationFrame || | |
| window.webkitRequestAnimationFrame || | |
| window.mozRequestAnimationFrame || | |
| function( callback ){ |
OlderNewer