Skip to content

Instantly share code, notes, and snippets.

View jaxtonkael's full-sized avatar

Justin Anderson jaxtonkael

View GitHub Profile
@thennequin
thennequin / PieMenu.cpp
Last active May 26, 2024 18:12
PieMenuAdv
struct PieMenuContext
{
static const int c_iMaxPieMenuStack = 8;
static const int c_iMaxPieItemCount = 12;
static const int c_iRadiusEmpty = 30;
static const int c_iRadiusMin = 30;
static const int c_iMinItemCount = 3;
static const int c_iMinItemCountPerLevel = 3;
struct PieMenu
@mcleary
mcleary / Timer.cpp
Last active March 27, 2024 02:42
C++ Timer using std::chrono
#include <iostream>
#include <chrono>
#include <ctime>
#include <cmath>
class Timer
{
public:
void start()
{