Hacker News new | ask | show | jobs
by csabahruska 3826 days ago
that OpenGL code is written like this in LambdaCube 3D:

  main = ScreenOut (FrameBuffer (ColorImage @1 (V4 0 1 0 1.0)))
or with depth + color buffer

  main = ScreenOut (FrameBuffer (DepthImage @1 1000, ColorImage @1 navy))