Skip to content

Commit

Permalink
reposition
Browse files Browse the repository at this point in the history
  • Loading branch information
softmare committed Jun 28, 2022
1 parent 7b0c62e commit a37a497
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/models/knight.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { GLTFLoader } from "three/examples/jsm/loaders/GLTFLoader";

const Knight = () => {
const gltf = useLoader(GLTFLoader, "/knight_gltf/scene.gltf");
return <primitive object={gltf.scene} position={[0, 1, 0]} />;
return <primitive object={gltf.scene} position={[0, 0, 0]} />;
};

export default Knight;
2 changes: 1 addition & 1 deletion pages/compare/threejs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const Threejs_Demo: NextPage = () => {
<div className="h-screen w-screen">
<ARCanvas>
<ambientLight />
<pointLight position={[10, 10, 10]} />
<pointLight position={[5,5,5]} />
<ModelComponent />
</ARCanvas>
</div>
Expand Down

0 comments on commit a37a497

Please sign in to comment.