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 <Windows.h> | |
| #include <iostream> | |
| #include <string> | |
| #include <conio.h> | |
| std::string filename; | |
| std::string parameters; | |
| std::string new_filename; | |
| std::string gcompiler = "g++"; |
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
| @echo off | |
| echo building.. | |
| g++ -o core src/core.cpp -lfreeglut -lopengl32 -lglu32 -lglew32 | |
| copy C:\lib\freeglut\freeglut.dll | |
| copy C:\lib\glew32\glew32.dll | |
| core.exe | |
| echo cleaning.. |
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 <vector> | |
| #include <stdio.h> | |
| #include <string> | |
| #include <cstring> | |
| #include <iostream> | |
| #include <glm/glm.hpp> | |
| #include <glm/glm.hpp> | |
| #include <glm/gtc/matrix_transform.hpp> |
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 <stdio.h> | |
| #include <glm/glm.hpp> | |
| #include <glm/gtc/matrix_transform.hpp> | |
| #include <glm/gtc/type_ptr.hpp> | |
| #include <GL/glew.h> | |
| #include <GL/glfw.h> |
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 pygame | |
| import os, sys | |
| width, height = 400, 400 | |
| os.environ['SDL_VIDEO_CENTERED'] = '1' | |
| screen = pygame.display.set_mode((width, height)) | |
| class Core(object): | |
| def __init__(self, surface, name): | |
| pygame.display.set_caption(name) |
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 <stdio.h> | |
| typedef struct { | |
| char t; | |
| int x, y; | |
| } swizzle; | |
| swizzle image; |
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 "model.hpp" | |
| #include "global.hpp" | |
| #include <sys/stat.h> | |
| #include <glm/gtx/integer.hpp> | |
| #include <glm/gtc/quaternion.hpp> | |
| #include <glm/gtx/quaternion.hpp> | |
| #include <assimp/postprocess.h> | |
| #include <assimp/scene.h> | |
| #include <sstream> |
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 unpack(int array[], int size) { | |
| int index = 0; | |
| int i = 0; | |
| for(; i < size; ++i) |
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 <stdlib.h> | |
| #include <stdio.h> | |
| using namespace std; | |
| int main(int argc, char const *argv[]) | |
| { | |
| long long unsigned int * ptr = new long long unsigned int; /* modern */ |
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
| @echo off | |
| echo INFO -- mingw64/bin added to path | |
| set Path=C:\mingw64\bin;%PATH% | |
| echo INFO -- navigating to cygwin/bin | |
| cd ../../../cygwin/bin | |
| echo INFO -- moving troublesome sh.exe to tmp dir | |
| move sh.exe C:\Users\iKlsR |
OlderNewer