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
| # FightCadeLocalMultiPlayerHelper.py | |
| # | |
| # 빌드 방법 | |
| # python pip install pyinstaller | |
| # | |
| # bash | |
| # pyinstaller --onefile --windowed FightCadeLocalMultiPlayerHelper.py | |
| # | |
| # windows cmd | |
| # python -m PyInstaller --onefile --windowed FightCadeLocalMultiPlayerHelper.py |
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
| // original gist: https://gist.github.com/xNok/74934a0c1c8500bfe84c8de6e92386cd | |
| var PSD = require('psd'); | |
| var fs = require('fs'); | |
| var path = require('path'); | |
| // command usage validation | |
| if (process.argv.length <= 2) { | |
| console.log("Usage: " + __filename + " path/to/directory/ path/to/output_dir/"); | |
| process.exit(-1); | |
| } |
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
| void CreateDevice() | |
| { | |
| //ThrowIfFailed(D3D12CreateDevice(nullptr, D3D_FEATURE_LEVEL_11_0, IID_PPV_ARGS(&gDevice))); | |
| IDXGIAdapter* pAdapter; | |
| ThrowIfFailed(gFactory->EnumAdapters(1, &pAdapter)); // 0: internal, 1: external, 2: warp | |
| //ThrowIfFailed(gFactory->EnumWarpAdapter(IID_PPV_ARGS(&pAdapter))); // soft render | |
| ThrowIfFailed(D3D12CreateDevice(pAdapter, D3D_FEATURE_LEVEL_11_0, IID_PPV_ARGS(&gDevice))); | |
| } |
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
| //********************************************************* | |
| // | |
| // Copyright (c) Microsoft. All rights reserved. | |
| // This code is licensed under the MIT License (MIT). | |
| // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF | |
| // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY | |
| // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR | |
| // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. | |
| // | |
| //********************************************************* |
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 <d3d12.h> | |
| #include "d3dx12.h" | |
| #include <dxgi1_6.h> | |
| #include <dxgidebug.h> | |
| #include <d3dcompiler.h> | |
| #include <DirectXColors.h> | |
| #include <DirectXMath.h> | |
| #include <iostream> | |
| #include <string> |
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<d3d12.h> | |
| #include"d3dx12.h" | |
| #include<dxgi1_6.h> | |
| #include<dxgidebug.h> | |
| #include<d3dcompiler.h> | |
| #include<DirectXColors.h> | |
| #include<DirectXMath.h> | |
| #include<iostream> | |
| #include<string> |
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
| # cube.obj | |
| # | |
| g cube | |
| v -1.0 -1.0 -1.0 | |
| v -1.0 +1.0 -1.0 | |
| v +1.0 +1.0 -1.0 | |
| v +1.0 -1.0 -1.0 | |
| v -1.0 -1.0 +1.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
| #include "objparser.h" | |
| std::vector<std::string> SplitString(std::string input, const char* sep) | |
| { | |
| std::vector<std::string> result; | |
| char* temp = nullptr; | |
| char* next = nullptr; | |
| temp = strtok_s((char*)input.data(), sep, &next); | |
| do |
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
| //********************************************************* | |
| // | |
| // Copyright (c) Microsoft Corporation. | |
| // Licensed under the MIT License (MIT). | |
| // | |
| //********************************************************* | |
| #ifndef __D3DX12_H__ | |
| #define __D3DX12_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
| #include<Windows.h> | |
| #include<d3d12.h> | |
| #include"d3dx12.h" | |
| #include<dxgi1_6.h> | |
| #include<dxgidebug.h> | |
| #include<d3dcompiler.h> | |
| #include<DirectXColors.h> | |
| #include<DirectXMath.h> | |
| #include<iostream> | |
| #include<string> |
NewerOlder