diff --git a/packages/replicad-app-example/src/ThreeContext.jsx b/packages/replicad-app-example/src/ThreeContext.jsx index 4b22c55..3a5a23d 100644 --- a/packages/replicad-app-example/src/ThreeContext.jsx +++ b/packages/replicad-app-example/src/ThreeContext.jsx @@ -5,7 +5,7 @@ import * as THREE from "three"; // We change the default orientation - threejs tends to use Y are the height, // while replicad uses Z. This is mostly a representation default. -THREE.Object3D.DefaultUp.set(0, 0, 1); +THREE.Object3D.DEFAULT_UP.set(0, 0, 1); // This is the basics to render a nice looking model user react-three-fiber // @@ -32,7 +32,7 @@ export default function ThreeContext({ children, ...props }) { {...props} > - + {children}