Skip to content

Commit 9963578

Browse files
🎨 format space
1 parent 891d858 commit 9963578

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: include/neural-graphics-primitives/common_device.cuh

+2-2
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ inline __host__ __device__ Ray pixel_to_ray(
285285
};
286286
head_pos *= dataset_scale;
287287
head_pos += shift;
288-
dir -= shift / parallax_shift.z(); // we could use focus_z here in the denominator. for now, we pack m_scale in here.
288+
dir -= shift / parallax_shift.z(); // we could use focus_z here in the denominator. for now, we pack m_scale in here.
289289
}
290290
else if(camera_mode == ECameraMode::Environment){
291291
// Camera convention: XYZ <-> Right Down Front
@@ -321,7 +321,7 @@ inline __host__ __device__ Ray pixel_to_ray(
321321
dir.head<2>() += read_image<2>(distortion_data, distortion_resolution, uv);
322322
}
323323
head_pos += shift;
324-
dir -= shift / parallax_shift.z(); // we could use focus_z here in the denominator. for now, we pack m_scale in here.
324+
dir -= shift / parallax_shift.z(); // we could use focus_z here in the denominator. for now, we pack m_scale in here.
325325
}
326326

327327
dir = camera_matrix.block<3, 3>(0, 0) * dir;

0 commit comments

Comments
 (0)