Cleanup: fix compiler warning.
This commit is contained in:
parent
0728c897d7
commit
a5bb401704
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue