Skip to content

Instantly share code, notes, and snippets.

View dwulive's full-sized avatar

Avatar dwulive

  • Pseudo Interactive
View GitHub Profile
dwulive / Quaternion.hlsl
Created August 27, 2022 17:28 — forked from mattatz/Quaternion.hlsl
Quaternion structure for HLSL
#define QUATERNION_IDENTITY float4(0, 0, 0, 1)
#ifndef PI
#define PI 3.14159265359f
// Quaternion multiplication
dwulive / 0_reuse_code.js
Created September 26, 2013 20:24
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console