voxelinc/voxellancer — pull request #598 by mrzzzrm (2014-04-29 20:58:50+00:00)
Title: Safe normalization

Adds
* SafeNormalize, a class to perform normalization and check its validity
* safeNormalize(), a convenient function for SafeNormalize
* powerOfTwo(), to get vector^2