Update README.mkdn

This commit is contained in:
Dennis Hotson 2012-11-07 03:21:06 +11:00
parent f8102547ad
commit 7691995ef6

View File

@ -62,7 +62,7 @@ So now to draw this graph, lets make a layout object:
I've written a Renderer class, which will handle the rendering loop. I've written a Renderer class, which will handle the rendering loop.
You just need to provide some callbacks to do the actual drawing. You just need to provide some callbacks to do the actual drawing.
var renderer = new Renderer(10, layout, var renderer = new Renderer(layout,
function clear() { function clear() {
// code to clear screen // code to clear screen
}, },