Skip to content

Instantly share code, notes, and snippets.

View BastianBlokland's full-sized avatar
⌨️
Probably building something...

Bastian Blokland BastianBlokland

⌨️
Probably building something...
View GitHub Profile
@zeux
zeux / nlerpsimd.cpp
Created May 6, 2016 03:40
A very fast version of nlerp with precision tweaks to make it match slerp, with SSE2 and AVX2 optimizations.
#include <stdio.h>
#include <math.h>
#include <immintrin.h>
#include <vector>
#include <type_traits>
#ifdef IACA
#include <iacaMarks.h>
#else