Forums > Javascript

jit.gl.graph (Solved)

March 21, 2009 | 10:38 pm

Just a quick question (I hope!):

What’s the proper function to pass a matrix into a jit.gl.graph object in javascript?


March 21, 2009 | 11:06 pm

Nevermind, found it!

myMatrix = new JitterMatrix(1, "float32", [256, 1]);
myGraph = new JitterObject("jit.gl.graph", myContext);
myGraph.jit_matrix(myMatrix);


Viewing 2 posts - 1 through 2 (of 2 total)