Skip to content

Commit 829e20f

Browse files
committed
Fix CI compilation
1 parent f45655b commit 829e20f

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

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

-24
Original file line numberDiff line numberDiff line change
@@ -621,30 +621,6 @@ inline NGP_HOST_DEVICE vec2 focal_length_to_fov(const ivec2& resolution, const v
621621
return 2.0f * 180.0f / PI() * atan(vec2(resolution) / (focal_length * 2.0f));
622622
}
623623

624-
inline NGP_HOST_DEVICE float4 to_float4(const vec4& x) {
625-
return {x.x, x.y, x.z, x.w};
626-
}
627-
628-
inline NGP_HOST_DEVICE float3 to_float3(const vec3& x) {
629-
return {x.x, x.y, x.z};
630-
}
631-
632-
inline NGP_HOST_DEVICE float2 to_float2(const vec2& x) {
633-
return {x.x, x.y};
634-
}
635-
636-
inline NGP_HOST_DEVICE vec4 to_vec4(const float4& x) {
637-
return {x.x, x.y, x.z, x.w};
638-
}
639-
640-
inline NGP_HOST_DEVICE vec3 to_vec3(const float3& x) {
641-
return {x.x, x.y, x.z};
642-
}
643-
644-
inline NGP_HOST_DEVICE vec2 to_vec2(const float2& x) {
645-
return {x.x, x.y};
646-
}
647-
648624
inline NGP_HOST_DEVICE mat4x3 camera_log_lerp(const mat4x3& a, const mat4x3& b, float t) {
649625
return mat_exp(mat_log(mat4(b) * inverse(mat4(a))) * t) * mat4(a);
650626
}

0 commit comments

Comments
 (0)