Skip to content

Instantly share code, notes, and snippets.

;; Example: Primitive Definition
;; Defining new type of primitives
;;(defn vec2/- [a b] (vec2/+ (vec2/scale b -1) a))
(defn scale_ [a] ( scale [a a]))
; (defn rot_onto [q w]
; (
; let [a (vec2/normalize q)
; b (vec2/normalize w)]
; (mat2d/* (mat2d [(.x b) (- (.y b))

Keybase proof

I hereby claim:

  • I am RoyWiggins on github.
  • I am roywiggins (https://keybase.io/roywiggins) on keybase.
  • I have a public key whose fingerprint is 0049 949F B3B4 5F28 5AC9 9813 4720 61B0 6953 F218

To claim this, I am signing this object:

@RoyWiggins
RoyWiggins / rsymlink
Last active December 21, 2015 13:39 — forked from agerwick/rsymlink
Tried to make it not choke on spaces in filenames and directories; I think it works.