Skip to content

Instantly share code, notes, and snippets.

View selfsame's full-sized avatar

Joseph Parker selfsame

View GitHub Profile
[
{
"id": "tools",
"children":
[{
"caption": "SublimeREPL",
"mnemonic": "R",
"id": "SublimeREPL",
"children":
[{"caption": "ClojureScript",
Total Installed Size: 4911.13 MiB
Net Upgrade Size: 226.69 MiB
:: Proceed with installation? [Y/n] Y
(534/534) checking keys in keyring [#######################################] 100%
(534/534) checking package integrity [#######################################] 100%
(534/534) loading package files [#######################################] 100%
(534/534) checking for file conflicts [#######################################] 100%
selfsame@tilde-[gczm]|[master]
[01:28] [127] >> sbcl
This is SBCL 1.1.14.debian, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.
SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses. See the CREDITS and COPYING files in the
distribution for more information.
* (trace-run-until :no-such-instruction nil nil)
(deftype StringPair [^:volatile-mutable ^System.String a ^:volatile-mutable ^System.String b])
(deftag System.String
{:pair fix.StringPair
:identity ""
:lerp
(fn [a b r]
(let [idx (int (* (max (count a) (count b)) r))]
(apply str (concat (take idx b) (drop idx a)))))})
@selfsame
selfsame / .gitignore
Created September 23, 2016 15:47
unity gitignore
/[Ll]ibrary/
/[Tt]emp/
/[Oo]bj/
/[Bb]uild/
/[Bb]uilds/
/Assets/AssetStoreTools*
# Autogenerated VS/MD/Consulo solution and project files
ExportedObj/
.consulo/
core.cljs:5087 Uncaught Error: Can't pop empty vectorcljs.core.PersistentVector.cljs$core$IStack$_pop$arity$1 @ core.cljs:5087cljs$core$_pop @ core.cljs:556cljs$core$pop @ core.cljs:1965om$next$get_indexed_query @ next.cljs:285om$next$get_query @ next.cljs:298(anonymous function) @ next.cljs:1914om$next$default_ui__GT_props @ next.cljs:1914om.next.Reconciler.om$next$protocols$IReconciler$reconcile_BANG_$arity$1 @ next.cljs:1704om$next$protocols$reconcile_BANG_ @ protocols.cljc:20(anonymous function) @ next.cljs:850
core.cljs:5499 Uncaught Error: Index out of boundscljs$core$build_subvec @ core.cljs:5499cljs.core.subvec.cljs$core$IFn$_invoke$arity$3 @ core.cljs:5508cljs.core.subvec.cljs$core$IFn$_invoke$arity$2 @ core.cljs:5507cljs$core$subvec @ core.cljs:5507om.next.Reconciler.om$next$protocols$IReconciler$reconcile_BANG_$arity$1 @ next.cljs:1709om$next$protocols$reconcile_BANG_ @ protocols.cljc:20(anonymous function) @ next.cljs:850
public Mesh CompileMesh(){
Mesh mesh = new Mesh(false, verticies.size(), indicies.size(),
new VertexAttribute(VertexAttributes.Usage.Position, 3, ShaderProgram.POSITION_ATTRIBUTE),
new VertexAttribute(VertexAttributes.Usage.Color, 4, "a_color"),
new VertexAttribute(VertexAttributes.Usage.Normal, 4, "a_normal"));
float[] verts = new float[verticies.size()];
for (int i=0;i<verticies.size();i++){
verts[i] = verticies.get(i);
}
(#<ArgumentNullException System.ArgumentNullException: Argument cannot be null.
Parameter name: address
at System.Net.WebClient.DownloadString (string) <IL 0x00010, 0x000a2>
at (wrapper remoting-invoke-with-check) System.Net.WebClient.DownloadString (string) <IL 0x00033, 0x00136>
at (wrapper dynamic-method) object.CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,object,object) <IL 0x00048, 0x00299>
at (wrapper dynamic-method) object.CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,object,object) <IL 0x00137, 0x0096d>
at arcadia/packages$download_string__30530.__interop_DownloadString30532 (object,object) <IL 0x0000f, 0x00089>
at arcadia/packages$download_string__30530.invoke (object) <IL 0x00008, 0x000da>
at arcadia/packages$dependencies__30641.invoke (object) <IL 0x00112, 0x00e20>
at arcadia/packages$all_dependencies__30656.invoke (object) <IL 0x000e2, 0x00aa9>
(ns squirt
(:import [UnityEngine Physics]
ArcadiaState RenderSettings
ArcadiaBehaviour StartHook UpdateHook OnTriggerEnterHook
[System.Reflection Assembly
AssemblyName MemberInfo
PropertyInfo FieldInfo])
(:use
arcadia.core arcadia.linear
hard.core hard.physics