Removing warnings

By on December 23, 2012

It feels good to fix some 100 warnings. Most of them were easy though like “loss of data” in conversions. These come from the fact that we are using doubles in CPU code while graphics uses floats to run on GPU. We are using doubles in calculations as they give more precision with no performance difference between floats and doubles.

Another popular warning was unused local variables. These ones are being used instead of TODO’s here and are more difficult to fix. There are still some those waiting for our attention :))

Posted in: code quality
Tagged: , ,


Be the first to comment.

Leave a Reply