William Deurwaarder
f3f64389ca
GPULightmapper: prevent loop with max iterations
...
In case the calculation of the delta contained infinity values (division by
zero), than later the calculation of the next cell failed as the infinity value
was multiplied by zero which resulted in a nan. The nan-value caused that the
next cell was equal to the current cell which resulted in an end-less loop,
which only terminates by the maximum iterations protection.
This is solved by replacing infinity with grid_size which acts as infinity.
2021-10-12 23:43:34 +02:00
..
2021-07-13 09:25:14 -03:00
2021-10-03 17:41:43 +02:00
2021-10-07 15:49:41 +02:00
2021-08-22 00:34:02 +03:00
2021-10-12 11:12:19 +07:00
2021-02-18 17:12:46 +01:00
2021-06-19 20:49:18 -06:00
2021-08-13 00:27:38 -05:00
2021-10-05 19:13:20 +02:00
2021-09-22 13:17:07 +02:00
2021-10-03 12:37:52 -07:00
2021-08-06 12:12:37 +02:00
2021-10-06 13:48:48 +02:00
2021-10-12 16:51:50 +02:00
2021-09-22 12:56:15 +02:00
2021-10-11 19:27:50 -03:00
2021-10-07 01:07:46 +09:00
2021-10-12 00:17:27 -05:00
2021-06-19 20:49:18 -06:00
2021-07-13 09:25:14 -03:00
2021-10-12 23:43:34 +02:00
2021-07-15 00:46:43 +02:00
2021-06-03 17:45:28 -04:00
2021-10-12 00:17:27 -05:00
2021-09-28 12:25:15 +10:00
2021-10-11 19:27:50 -03:00
2021-08-27 15:43:18 +03:00
2021-09-30 15:09:12 -06:00
2021-09-20 20:59:33 -05:00
2021-09-20 20:59:33 -05:00
2021-01-01 20:19:21 +01:00
2021-06-28 21:17:06 +02:00
2021-09-30 19:58:05 +02:00
2021-09-20 20:59:33 -05:00
2021-04-16 17:08:36 +02:00
2021-05-25 11:54:28 +01:00
2021-10-12 12:47:18 +03:00
2021-10-12 12:47:18 +03:00
2021-06-19 20:49:18 -06:00
2021-10-07 15:49:41 +02:00
2021-05-25 11:54:28 +01:00
2021-09-30 18:28:12 +02:00
2021-09-14 17:14:06 -07:00
2021-10-11 19:27:50 -03:00
2021-09-20 20:59:33 -05:00
2021-10-07 15:49:41 +02:00
2021-06-19 20:49:18 -06:00
2021-10-05 19:13:20 +02:00
2021-10-09 00:20:10 +02:00
2021-09-28 12:25:15 +10:00
2021-10-12 20:20:19 +07:00
2021-01-01 20:19:21 +01:00
2021-05-05 11:44:29 +02:00