Cleanup: fix compiler warning.

This commit is contained in:
Brecht Van Lommel 2018-09-06 20:09:13 +02:00
parent 0728c897d7
commit a5bb401704
1 changed files with 1 additions and 1 deletions

View File

@ -716,7 +716,7 @@ float Camera::world_to_raster_size(float3 P)
float3 D = transform_point(&worldtocamera, P);
float dist = len(D);
Ray ray;
Ray ray = {0};
/* Distortion can become so great that the results become meaningless, there
* may be a better way to do this, but calculating differentials from the