Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions docs/api/klipp.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ An orthographic camera shows `orthographicSize` world units above and below the

`KlippThree` keeps the camera's `left`, `right`, `top` and `bottom` and writes the size through `zoom`, so after a resize the same part of the world stays in view. New virtual cameras start from the size of the camera `KlippThree` was created with, like `<Canvas orthographic camera={{ zoom: 50 }}>`. A camera swapped in later leaves the size of existing virtual cameras alone.

three.js draws a cube or panorama `scene.background`, like drei's `<Environment background>`, only for a perspective camera. With an orthographic camera, use a color.

## Usage

<Tabs defaultValue="core" syncKey="integration">
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pmndrs/klipp",
"version": "0.16.0",
"version": "0.17.0",
"description": "A camera toolkit for the web: a complete virtual camera system for any renderer, with React Three Fiber and three.js built on top. Inspired by Unity Cinemachine.",
"keywords": [
"camera",
Expand Down
Loading