XML Feeds

.

[jitter] clarify js interface to jit.gl.render?

Yon yon at zero-th.org
Fri Aug 31 12:14:45 MDT 2007


Hello,

Basing my work off of one of the js examples, I'm rendering a gridshape object and a bunch of particles, represented as points.  

My particles data are passed via a matrix, "ParticleMatrix".  This is my render block:

	// rendering block...
	myrender.erase(); // erase the drawing context
	myrender.drawclients(); // draw the client objects
	myrender.matrixcalc(ParticleMatrix,"points");
	myrender.swap(); // swap in the new drawing

where myrender is a jit.gl.render instance.

however, i get the error "myrender.matrixcalc is not a function".  

What would be the correct way to do this?  Is there something besides the tutorials I should be referring to for this?

Thanks,
Yon


More information about the jitter mailing list