diff --git a/rasterizer/gsplat-cpu/gsplat_cpu.cpp b/rasterizer/gsplat-cpu/gsplat_cpu.cpp index 694269b..6310288 100644 --- a/rasterizer/gsplat-cpu/gsplat_cpu.cpp +++ b/rasterizer/gsplat-cpu/gsplat_cpu.cpp @@ -61,8 +61,8 @@ project_gaussians_forward_tensor_cpu( const unsigned img_width, const float clip_thresh ){ - float fovx = 0.5f * static_cast(img_height) / fx; - float fovy = 0.5f * static_cast(img_width) / fy; + float fovx = 0.5f * static_cast(img_width) / fx; + float fovy = 0.5f * static_cast(img_height) / fy; // clip_near_plane torch::Tensor Rclip = viewmat.index({"...", Slice(None, 3), Slice(None, 3)});