Skip to content

Instantly share code, notes, and snippets.

View joenoon's full-sized avatar

Joe Noon joenoon

  • SF Bay Area - San Ramon
View GitHub Profile
@joenoon
joenoon / quaternion.js
Created June 15, 2018 04:39 — forked from bellbind/quaternion.js
[javascript]understanding quaternion
//[understanding quaternion]
// - basic vector knowledge
// - quaternion basics
// - quaternion multiply
// - rotation with quaternion
// - slerp
// - convert quaternion to matrix
//[(basic) vector func]
var negate = function (vec) {