Skip to content

injects stale values into context - not live-bound to cameraState #21

@kumavis

Description

@kumavis

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

this is because cameraState values are copied once on camera create

context: Object.assign({}, cameraState, {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions