From 7526ea8de723888211101278198dc7a454024b84 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 26 Aug 2023 16:14:05 +0300 Subject: [WGL/P] Implemented crude ray rotation around black holes --- Year 2/Computer Graphics with WebGL/Project/spaceship.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Year 2/Computer Graphics with WebGL/Project/spaceship.js') 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); -- cgit v1.3.1-26-gb76a