Cleanup: fix compiler warning.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user