0.1.10 • Published 4 years ago

regl-camera-ts v0.1.10

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

BETA

fork from regl-camera

doc

yarn add regl-camera-ts

import createCamera from "regl-camera-ts";

const camera = createCamera(regl, {
    center: [0, 0, 0],
    theta: Math.PI / 2,
});

regl.frame(() => {
  regl.clear({
    color: [0, 0, 0, 1],
  });
  camera(() => {
    drawCommand();
  });
});
0.1.10

4 years ago

0.1.8

4 years ago

0.1.9

4 years ago

0.1.7

4 years ago

0.1.4

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago