Skip to content

Commit

Permalink
Yeah whatever man
Browse files Browse the repository at this point in the history
  • Loading branch information
GlennFolker committed Dec 11, 2024
1 parent c1af0a6 commit 22e63b7
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/confictura/world/celestial/BlackHole.java
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,8 @@ public void draw(PlanetParams params, Mat3D projection, Mat3D transform){
children = stash;

drawing = true;
var cam = renderer.planets.cam;
//float prevFov = cam.fov;
//cam.fov = Mathf.atan2(cam.far - cam.near, graphics.getWidth()) * Mathf.radDeg;
//cam.update();

var cam = renderer.planets.cam;
depth.resize(graphics.getWidth(), graphics.getHeight());
depthRef.resize(graphics.getWidth(), graphics.getHeight());

Expand Down Expand Up @@ -172,9 +169,6 @@ public void draw(PlanetParams params, Mat3D projection, Mat3D transform){
ref.end();
}

//cam.fov = prevFov;
//cam.update();

var shader = CShaders.blackHole;
shader.camera = cam;
shader.planet = this;
Expand Down

0 comments on commit 22e63b7

Please sign in to comment.