Skip to content

Instantly share code, notes, and snippets.

#include <intrin.h>
#define INT128(a,b,c,d) { a & 255, a >> 8 & 255, a >> 16 & 255, a >> 24 & 255, b & 255, b >> 8 & 255, b >> 16 & 255, b >> 24 & 255, c & 255, c >> 8 & 255, c >> 16 & 255, c >> 24 & 255, d & 255, d >> 8 & 255, d >> 16 & 255, d >> 24 & 255 }
const __m128i ONEi = INT128( 1,1,1,1 );
const __m128 ONE = { 1,1,1,1 };
const __m128 SIX = { 6,6,6,6 };
const __m128 TEN = { 10,10,10,10 };
const __m128 FIFTEEN = { 15,15,15,15 };
const __m128i Xi = INT128( 1,0,1,0 );
#pragma once
#include <functional>
#include <array>
#include <tuple>
#include <stdexcept>
#include <cstdint>
template<typename T, size_t Size>
class VecN;
#include "MyForm.h"
#include "FastNoise.h"
#include <cmath>
#include <Windows.h>
using namespace Project1;
using namespace System::Windows::Forms;
[STAThread]
int main(array<String^>^ args)