From e6c55c144c7603a52e76cb814331f462b16f66fd Mon Sep 17 00:00:00 2001 From: Roman Melnik Date: Fri, 23 Mar 2012 22:15:45 +0200 Subject: [PATCH] Fix tabulation/formatting --- components/nif/nif_types.hpp | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/components/nif/nif_types.hpp b/components/nif/nif_types.hpp index 83f912bfd..ee796cc99 100644 --- a/components/nif/nif_types.hpp +++ b/components/nif/nif_types.hpp @@ -55,26 +55,26 @@ struct Matrix struct Transformation { - Vector pos; - Matrix rotation; - float scale; - Vector velocity; + Vector pos; + Matrix rotation; + float scale; + Vector velocity; - static const Transformation* getIdentity() - { - static Transformation identity; - static bool iset = false; - if (!iset) - { - identity.scale = 1.0f; - identity.rotation.v[0].array[0] = 1.0f; - identity.rotation.v[1].array[1] = 1.0f; - identity.rotation.v[2].array[2] = 1.0f; - iset = true; - } + static const Transformation* getIdentity() + { + static Transformation identity; + static bool iset = false; + if (!iset) + { + identity.scale = 1.0f; + identity.rotation.v[0].array[0] = 1.0f; + identity.rotation.v[1].array[1] = 1.0f; + identity.rotation.v[2].array[2] = 1.0f; + iset = true; + } - return &identity; - } + return &identity; + } }; #pragma pack(pop)