git clone --recursive -b {branch} {remote_repo} .
git checkout {tag_name} -b {branch_name}
Подборка материалов по UE4 с упором на C++.
Script tested on Windows 10 64bit.
- Install git bash from https://git-for-windows.github.io/
Git allows to use linux commands on windows. - Open Git Bash Command Line
Simply right-click on a folder in Windows Explorer to access the BASH or GUI.
https://git-for-windows.github.io/img/gw1.png - You can use "mv" command to rename "VeryLongFileName.ext" to "shortFileName.ext" like this:
mv "VeryLongFileName.ext" "shortFileName.ext" - If you need to rename a lot of files in folder use shorten.sh below.
Creating Video material & Sound.
Adding "MOB1_M1_Stand_Relaxed_to_Crouch" animation sequence to "SK_Infiltrator_Skeleton".
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
// Печать с двух сторон (выводит страницы на распечатку) | |
// | |
// Программу можно запустить на https://jsfiddle.net/ | |
// Вставьте этот javascript код, нажмите F12 и кнопку Run | |
// Меняйте переменные side, startPage, endPage | |
// | |
// Печать по диапозону [startPage;endPage] | |
// Сначала печатаем все страницы с side=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
#include "Model.hpp" | |
bool core::ModelLoader::loadModel(const char* fp, Model* m) | |
{ | |
core::log("Loading " + (std::string)fp, core::green); | |
Assimp::Importer importer; // used to import the model | |
const aiScene* scene = importer.ReadFile(fp, | |
aiProcess_Triangulate | |
C++ code style written in markdown.
Astyle code automatic formatting settings
You can use clang-format too.
Use tools like vera++
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
/* | |
* The MIT License (MIT) | |
* | |
* Copyright (c) 2016 Mario Badr | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the Software is |
NewerOlder