Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
revert: removed old-sphere component
Browse files Browse the repository at this point in the history
  • Loading branch information
Amiditin committed Feb 1, 2024
1 parent 9dcf070 commit 5c551c8
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 203 deletions.
11 changes: 1 addition & 10 deletions ui/sphere/assets/index.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
import OldSphereBin from './old-sphere_data.bin'
import OldSphereGltf from './old-sphere.gltf'
import SphereBin from './sphere_data.bin'
import SphereNoAnimationBin from './sphere-no-animation_data.bin'
import SphereNoAnimationGltf from './sphere-no-animation.gltf'
import SphereGltf from './sphere.gltf'

export {
OldSphereGltf,
OldSphereBin,
SphereBin,
SphereGltf,
SphereNoAnimationBin,
SphereNoAnimationGltf,
}
export { SphereBin, SphereGltf, SphereNoAnimationBin, SphereNoAnimationGltf }
123 changes: 0 additions & 123 deletions ui/sphere/assets/old-sphere.gltf

This file was deleted.

3 changes: 0 additions & 3 deletions ui/sphere/assets/old-sphere_data.bin

This file was deleted.

1 change: 0 additions & 1 deletion ui/sphere/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
export * from './sphere.component'
export * from './sphere.interfaces'
export * from './old-sphere.component'
2 changes: 0 additions & 2 deletions ui/sphere/src/loader/loader.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { Suspense } from 'react'
import { FC } from 'react'
import { PropsWithChildren } from 'react'

import { OldSphereGltf } from '../../assets'
import { SphereNoAnimationGltf } from '../../assets'
import { CDN_SPHERE_PATH } from '../sphere.constants'

Expand All @@ -15,4 +14,3 @@ export const Loader: FC<PropsWithChildren<{}>> = ({ children }) => (

useGLTF.preload(CDN_SPHERE_PATH)
useGLTF.preload(SphereNoAnimationGltf)
useGLTF.preload(OldSphereGltf)
1 change: 0 additions & 1 deletion ui/sphere/src/old-model/index.ts

This file was deleted.

31 changes: 0 additions & 31 deletions ui/sphere/src/old-model/old-model.component.tsx

This file was deleted.

14 changes: 0 additions & 14 deletions ui/sphere/src/old-model/old-model.interfaces.ts

This file was deleted.

18 changes: 0 additions & 18 deletions ui/sphere/src/old-sphere.component.tsx

This file was deleted.

0 comments on commit 5c551c8

Please sign in to comment.