Applied default Visual Studio formatting to most files. This is a quick fix for the tabs vs spaces issue that messes up the formatting in any editor (esp. Linux) which handles tabs/spaces differently to Visual Studio. Some parts of the formatting look a bit worse but overall it should be better (or at least more consistent).
I didn't apply the changes to a few macro-heavy files as Visual Studio removes all indentation from macros, whereas the indentation can be handy to see nesting.
This commit is contained in:
@ -112,7 +112,7 @@ namespace PolyVox
|
||||
{
|
||||
// Extract the two bytes from the uint16_t.
|
||||
uint16_t ux = (encodedNormal >> 8) & 0xFF;
|
||||
uint16_t uy = (encodedNormal ) & 0xFF;
|
||||
uint16_t uy = (encodedNormal)& 0xFF;
|
||||
|
||||
// Convert to floats in the range [-1.0f, +1.0f].
|
||||
float ex = ux / 127.5f - 1.0f;
|
||||
|
Reference in New Issue
Block a user