migrate encodeTreeBitstream() to use params class
spacing
Merge pull request #541 from ey6es/master

Fix for irises on OS X: compute and pass in the model space eye position as a uniform.
Merge pull request #540 from ZappoMan/encode_params

Change encodeTreeBitstream() to use params class