Skip to content

Instantly share code, notes, and snippets.

@kapzyl
kapzyl / mu.cpp
Created April 21, 2020 20:36 — forked from pervognsen/mu.cpp
Mu as of the second stream
#include "mu.h"
#define _CRT_SECURE_NO_WARNINGS
#include <malloc.h>
#define _USE_MATH_DEFINES
#include <math.h>
#define _NO_CRT_STDIO_INLINE
#include <stdio.h>
#include <stdarg.h>
#define NO_STRICT
@kapzyl
kapzyl / code.cpp
Last active April 21, 2020 16:15 — forked from d7samurai/.readme.md
minimal d3d11 by d7samurai
// minimal d3d11 reference implementation; an uncluttered direct3d 11 setup and rendering primer for newcomers to the api.
// complete, runnable c+ application contained in a single function (winmain) and laid out in a step-by-step fashion that
// should be easy to follow from the code alone. win7 compatible. produces this output: https://youtu.be/XR7zPheek2Q
// twitter: @d7samurai
#pragma comment(lib, "d3d11")
#pragma comment(lib, "d3dcompiler")
#include <windows.h>