Skip to content
Snippets Groups Projects
Commit 048d3037 authored by Liliana Sanfilippo's avatar Liliana Sanfilippo
Browse files
parents 3991cf04 85a7adab
No related branches found
No related tags found
No related merge requests found
import React, { useEffect } from 'react';
import * as THREE from 'three';
import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader';
export const ProteinViewer: React.FC = () => {
useEffect(() => {
......@@ -16,10 +15,6 @@ export const ProteinViewer: React.FC = () => {
light.position.set(0, 1, 2);
scene.add(light);
console.log('Public url is:')
console.log(`${process.env.PUBLIC_URL}`)
camera.position.z = 5; // Adjust the camera position
//Render loop
const animate = () => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment