Skip to content

Commit

Permalink
fix: flipped PanoramaCompositor horizontally
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSturk committed Oct 13, 2023
1 parent 31b0d24 commit 26eef3f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class PanoramaLayerCompositor extends LayerCompositor {
transformGeometry(
sphere,
makeMatrix4Concatenation(
makeMatrix4Scale(new Vector3(-1, 1, -1)),
makeMatrix4Scale(new Vector3(1, 1, -1)),
makeMatrix4RotationFromAngleAxis(new Vector3(0, 1, 0), Math.PI / 2),
),
);
Expand Down

0 comments on commit 26eef3f

Please sign in to comment.