Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
}
} else {
console.error('onControlAdded(): no host instance -> mesh -> material', button3d)
}
}
const MashupButton = (props) => (
<img height="180px" width="180px" name="{`img-${props.text}`}">
)
export default withScene(MashupButton)
position={new Vector3(this.props.scaleTo / 2, 0, this.props.scaleTo/60)}
setPivotMatrix={ [ Matrix.Translation(-this.props.scaleTo, 0, 0) ] }
setPreTransformMatrix={ [ Matrix.Translation(-this.props.scaleTo / 2, 0, 0) ] }>
}
)
}
}
export default withScene(ScaledModelWithProgress)