Open kumavis opened 4 years ago
doc says values likes theta, phi, distance are injected into context, but they are stale https://github.com/regl-project/regl-camera/tree/0182e4ef8511f987925ada18c1eb63d349e7fd6c#camerablock
theta
phi
distance
this is because cameraState values are copied once on camera create https://github.com/regl-project/regl-camera/blob/0182e4ef8511f987925ada18c1eb63d349e7fd6c/regl-camera.js#L140
cameraState
doc says values likes
theta
,phi
,distance
are injected into context, but they are stale https://github.com/regl-project/regl-camera/tree/0182e4ef8511f987925ada18c1eb63d349e7fd6c#camerablockthis is because
cameraState
values are copied once on camera create https://github.com/regl-project/regl-camera/blob/0182e4ef8511f987925ada18c1eb63d349e7fd6c/regl-camera.js#L140