0.1.10 • Published 5 years ago

regl-camera-ts v0.1.10

Weekly downloads
-
License
MIT
Repository
github
Last release
5 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

5 years ago

0.1.8

5 years ago

0.1.9

5 years ago

0.1.7

5 years ago

0.1.4

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago