diff options
[WGL/P] Implemented crude ray rotation around black holes
1 files changed, 1 insertions, 1 deletions
| -rw-r--r-- | Year 2/Computer Graphics with WebGL/Project/spaceship.js | 2 |
diff --git a/Year 2/Computer Graphics with WebGL/Project/spaceship.js b/Year 2/Computer Graphics with WebGL/Project/spaceship.js index 075ae4d..3f88b69 100644 --- a/Year 2/Computer Graphics with WebGL/Project/spaceship.js +++ b/Year 2/Computer Graphics with WebGL/Project/spaceship.js @@ -62,7 +62,7 @@ function vecSub(a, b) { const MOVE_SPEED = 1.5; const ROTATION_SPEED = 3; -var pos = [1000, 0, 30]; +var pos = [1000, 0, 650]; var forward = new SphericalCoord(Math.PI / 2, 0); var up = new SphericalCoord(0, 0); |
