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
#pragma once | |
#include <math.h> | |
namespace Ease | |
{ | |
////////////////////////////////////////////////////////////////////////// | |
//Clamping utils | |
template <class T> | |
const T& Clamped(const T& high, const T& low, const T& v) | |
{ |
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
#include "Logger.h" | |
#include <iostream> | |
#include <stdio.h> | |
#include <time.h> | |
#include <sstream> | |
#include <stdarg.h> | |
void Logger::SetLogFile(const std::string FileName) | |
{ | |
sFileName = FileName; |
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
#include "Clock.h" | |
//platform specific time implementations. | |
#if defined(__WIN32) || defined(_WIN32) | |
//windows | |
#include <windows.h> | |
namespace | |
{ | |
LARGE_INTEGER getFrequency() |
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
#include <stdio.h> | |
#include <iostream> | |
using namespace std; | |
int main(){ | |
unsigned int idcmd = 0; | |
unsigned int EBX_REG=0; | |
unsigned int EDX_REG=0; | |
unsigned int ECX_REG=0; | |
unsigned int EAX_SIZE=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
#pragma once | |
//Row Major templated matrix class. | |
#define _USE_MATH_DEFINES | |
#include <math.h> | |
#include <iostream> | |
#include <vector> | |
#include <stdexcept> |
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
/* | |
* Color.cpp | |
* | |
* Created on: Jun 5, 2012 | |
* Author: DEElekgolo | |
*/ | |
#include "Color.hpp" |
NewerOlder