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
//==========================================// | |
// Author: Pietro Lazzarotto // | |
// Credits 2019 // | |
//==========================================// | |
#pragma once | |
#include <cstdio> | |
#include <conio.h> | |
#define RELEASED 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
//==========================================// | |
// Author: Pietro Lazzarotto // | |
// Credits 2019 // | |
//==========================================// | |
int main(int argc, char** argv) | |
{ | |
#ifdef _DEBUG | |
// get the console handle | |
auto hwnd = GetConsoleWindow(); |
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
<UserSettings> | |
<ApplicationIdentity version="14.0"/> | |
<ToolsOptions> | |
<ToolsOptionsCategory name="Environment" RegisteredName="Environment"/> | |
<ToolsOptionsCategory name="TextEditor" RegisteredName="TextEditor"> | |
<ToolsOptionsSubCategory name="AllLanguages" RegisteredName="AllLanguages" PackageName="Text Management Package"/> | |
<ToolsOptionsSubCategory name="Basic" RegisteredName="Basic" PackageName="Text Management Package"> | |
<PropertyValue name="TabSize">4</PropertyValue> | |
<PropertyValue name="ShowChanges">true</PropertyValue> | |
<PropertyValue name="AutoListMembers">true</PropertyValue> |
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
'atom-text-editor:not([mini])': | |
'ctrl-up': 'unset!' | |
'ctrl-down': 'unset!' | |
'ctrl-d': 'editor:duplicate-lines' | |
'alt-up': 'editor:move-line-up' | |
'alt-down': 'editor:move-line-down' | |
'shift-enter': 'editor:newline-above' | |
# after installing https://atom.io/packages/multi-cursor from joseramonc | |
'ctrl-shift-down': 'multi-cursor:expand-down' |
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
/// <summary> | |
/// Holds the data for each mesh triangle in world coordinates. | |
/// </summary> | |
[Serializable] | |
public class Triangle | |
{ | |
public Vector3 vertexA; | |
public Vector3 vertexB; | |
public Vector3 vertexC; |