Skip to content

Commit

Permalink
docs: fix camera usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Gugustinette committed Oct 22, 2024
1 parent e0489a8 commit 098c2bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/core/cameras.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ You can change the camera used to render the scene by setting the `camera` prope

```typescript
// Attach a camera to the character
scene.camera = new FGameCamera({
scene.camera = new FGameCamera(scene, {
target: character,
})
```
Expand Down

0 comments on commit 098c2bc

Please sign in to comment.