Skip to content

Instantly share code, notes, and snippets.


Avatar dwulive

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