From 46544b7dba0081f22e686f70c606a338c7fa52dd Mon Sep 17 00:00:00 2001 From: David Thompson Date: Mon, 21 Sep 2015 19:44:10 -0400 Subject: render: Reimplement rendering engine using functional combinators. Warning: This is a huge commit. I completely gutted the old scene graph and replaced it with a somewhat monadic rendering combinator module instead. The interface remains purely functional, but replaces the data type with procedures in the rendering monad instead. This opens the door for rendering *anything*, not just meshes. Now I can implement particle systems and other non-static things. --- .dir-locals.el | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .dir-locals.el (limited to '.dir-locals.el') diff --git a/.dir-locals.el b/.dir-locals.el new file mode 100644 index 0000000..57fd98f --- /dev/null +++ b/.dir-locals.el @@ -0,0 +1,20 @@ +((scheme-mode + . + ((eval . (put 'call-with-transform-excursion 'scheme-indent-function 1)) + (eval . (put 'with-transform-excursion 'scheme-indent-function 1)) + (eval . (put 'graphics-model-view-excursion 'scheme-indent-function 1)) + (eval . (put 'graphics-projection-excursion 'scheme-indent-function 1)) + (eval . (put 'graphics-uniform-excursion 'scheme-indent-function 2)) + (eval . (put 'graphics-mesh-excursion 'scheme-indent-function 1)) + (eval . (put 'with-blend-mode 'scheme-indent-function 1)) + (eval . (put 'with-depth-test 'scheme-indent-function 1)) + (eval . (put 'with-texture 'scheme-indent-function 1)) + (eval . (put 'with-shader 'scheme-indent-function 1)) + (eval . (put 'with-mesh 'scheme-indent-function 1)) + (eval . (put 'with-framebuffer 'scheme-indent-function 1)) + (eval . (put 'with-viewport 'scheme-indent-function 1)) + (eval . (put 'with-projection-mul 'scheme-indent-function 1)) + (eval . (put 'with-model-view-mul 'scheme-indent-function 1)) + (eval . (put 'with-camera 'scheme-indent-function 1)) + (eval . (put 'with-color 'scheme-indent-function 1)) + (eval . (put 'uniform-let 'scheme-indent-function 1))))) -- cgit v1.2.3