mirror of https://github.com/certusone/oyster.git
fix TS error in Utils.ts
This commit is contained in:
parent
d1b1c8f373
commit
44517b4eb7
|
@ -20,9 +20,7 @@ export const hasWindow =
|
|||
* @param particleSize
|
||||
* @returns {[]}
|
||||
*/
|
||||
export const calculateTorusProperties = (
|
||||
particleSize: number,
|
||||
): [BufferAttribute | InterleavedBufferAttribute, any, any] => {
|
||||
export const calculateTorusProperties = (particleSize: number): any => {
|
||||
let bufferGeometry: BufferGeometry = new TorusGeometry(60, 45, 160, 160);
|
||||
|
||||
// if normal and uv attributes are not removed,
|
||||
|
|
|
@ -28,7 +28,7 @@ const WormholeGeometry = () => {
|
|||
const uniforms = React.useMemo(
|
||||
() => ({
|
||||
// Adapt the color of the WormholeCanvas here.
|
||||
color: { value: new Color("white") },
|
||||
color: { value: new Color("gray") },
|
||||
pointTexture: {
|
||||
value: pointTexture,
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue