Skip to content

Commit

Permalink
Merge pull request #55 from cgtuebingen/feature/25-debug-information
Browse files Browse the repository at this point in the history
Implementation of debug information
  • Loading branch information
Courtsilius authored May 28, 2024
2 parents 73b7614 + 2df2680 commit c07affa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -273,4 +273,5 @@ build

*.vscode
*.splat
*.ply
*.ply
/.idea
7 changes: 6 additions & 1 deletion app/components/CanvasLayer.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import React, { useState, useEffect } from 'react';
import { Canvas } from '@react-three/fiber';
import { OrbitControls, Splat } from '@react-three/drei';
import {
OrbitControls,
Splat,
StatsGl
} from '@react-three/drei';

const CanvasLayer = () => {

Expand All @@ -26,6 +30,7 @@ const CanvasLayer = () => {
return (
<div className="absolute w-full h-full">
<Canvas>
<StatsGl />
<ambientLight />
<pointLight position={[0, 0, 0]} />
<OrbitControls />
Expand Down

0 comments on commit c07affa

Please sign in to comment.