diff options
| author | Patrick Schönberger | 2021-02-01 14:08:56 +0100 |
|---|---|---|
| committer | Patrick Schönberger | 2021-02-01 14:08:56 +0100 |
| commit | 8ecb6f064f0708ed010f1239a7bddc283411b6e7 (patch) | |
| tree | 0e753b3295d66f4b4e4393244cc4b9f63a6cec89 /Scripts/main.js | |
| parent | 6b8872e162f44cb469a0dc4cdbb30981912a4ee3 (diff) | |
| download | cloth_sim-8ecb6f064f0708ed010f1239a7bddc283411b6e7.tar.gz cloth_sim-8ecb6f064f0708ed010f1239a7bddc283411b6e7.zip | |
cloth-cloth collision
Diffstat (limited to 'Scripts/main.js')
| -rw-r--r-- | Scripts/main.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Scripts/main.js b/Scripts/main.js index 01e3283..588e8f1 100644 --- a/Scripts/main.js +++ b/Scripts/main.js @@ -35,7 +35,7 @@ function setup_scene(canvasSpace) { scene.add(directionalLight);
/** position camera */
- camera.position.y = 5;
+ camera.position.y = 3;
camera.position.z = 10;
addLights(scene);
return [scene, camera, renderer];
@@ -62,7 +62,7 @@ function init() { /** setup cloth and generate debug mesh */
let cloth = new Cloth();
- cloth.createBasic(10, 10, 10, 10);
+ cloth.createBasic(10, 10, 20, 20);
//cloth.createDebugMesh(scene);
|
