removes unused code
This commit is contained in:
@@ -1,24 +0,0 @@
|
||||
/* eslint-disable react/no-unescaped-entities */
|
||||
/* eslint-disable no-unused-vars */
|
||||
import React from "react";
|
||||
|
||||
export const InfoPanel = () => {
|
||||
return (
|
||||
<div
|
||||
style={{
|
||||
position: "absolute",
|
||||
zIndex: "1000",
|
||||
top: 0,
|
||||
left: 0,
|
||||
fontFamily: "sans-serif",
|
||||
padding: "10px",
|
||||
width: "200px",
|
||||
color: "white",
|
||||
}}
|
||||
>
|
||||
Use panel on right top corner to customize the Lego Bricks Properties Use
|
||||
<br />
|
||||
"AWSD" to chnage the anchor points of bricks
|
||||
</div>
|
||||
);
|
||||
};
|
||||
@@ -1,13 +0,0 @@
|
||||
/* eslint-disable no-unused-vars */
|
||||
/* eslint-disable react/prop-types */
|
||||
/* eslint-disable react/no-unknown-property */
|
||||
import React from "react";
|
||||
|
||||
export const Shadow = ({ size = 3000 }) => {
|
||||
return (
|
||||
<mesh receiveShadow={true} rotation={[-Math.PI / 2, 0, 0]}>
|
||||
<planeGeometry args={[size, size]} />
|
||||
<shadowMaterial opacity={0.2} />
|
||||
</mesh>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user