-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(version): release 0.30.4 version
- Loading branch information
1 parent
7287478
commit 36cb08e
Showing
8 changed files
with
20 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,22 @@ | ||
import Control3D from "../Control3D/Control3D"; | ||
import { Canvas } from "@react-three/fiber"; | ||
import React, { ReactElement } from "react"; | ||
import { Fragment, ReactElement } from "react"; | ||
import Light3D from "../Light3D/Light3D"; | ||
import Floor3D from "../Floor3D/Floor3D"; | ||
|
||
interface IScene3D { | ||
children?: ReactElement | ReactElement[]; | ||
ros?: any; | ||
} | ||
|
||
export default function Scene3D({ | ||
children, | ||
ros, | ||
}: IScene3D): ReactElement<IScene3D> { | ||
return ( | ||
<Canvas dpr={[1, 1]} gl={{ powerPreference: "high-performance" }}> | ||
{children} | ||
<Fragment>{children}</Fragment> | ||
<Light3D /> | ||
<Control3D /> | ||
<Floor3D ros={ros} /> | ||
<Floor3D /> | ||
</Canvas> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters