Skip to content

Commit

Permalink
fix: camera rotation to prevent default_up (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
quirm authored Apr 1, 2024
1 parent 6497ade commit 13ddcd4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Graph.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ export const ChartUI: FC<PerfUIProps> = ({
<Canvas
ref={canvas}
orthographic
camera={{ rotation: [0, 0, 0] }}
dpr={antialias ? [1,2] : 1}
gl={{
antialias: true,
Expand Down

0 comments on commit 13ddcd4

Please sign in to comment.