Skip to content

Commit

Permalink
fix torch impl ndc2pix method
Browse files Browse the repository at this point in the history
  • Loading branch information
vye16 committed Jan 3, 2024
1 parent 256f003 commit 81b178a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gsplat/_torch_impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def compute_cov2d_bounds(cov2d_mat: Tensor):


def ndc2pix(x, W, c):
return 0.5 * W * x + 0.5 + c
return 0.5 * W * x - 0.5 + c


def project_pix(fullmat, p, img_size, center, eps=1e-6):
Expand Down

0 comments on commit 81b178a

Please sign in to comment.