Browse Source

Formatting

Mario Zechner 2 months ago
parent
commit
fb821ec443

+ 2 - 2
spine-cpp/src/spine/Atlas.cpp

@@ -348,13 +348,13 @@ void Atlas::load(const char *begin, int length, const char *dir, bool createText
 			// Calculate regionWidth/Height from UV coordinates
 			region->_regionWidth = abs((int) ((region->_u2 - region->_u) * page->width));
 			region->_regionHeight = abs((int) ((region->_v2 - region->_v) * page->height));
-			
+
 			if (region->_degrees == 90) {
 				int temp = region->_packedWidth;
 				region->_packedWidth = region->_packedHeight;
 				region->_packedHeight = temp;
 			}
-			
+
 			_regions.add(region);
 		}
 	}

+ 1 - 1
spine-libgdx/spine-libgdx-tests/src/com/esotericsoftware/spine/HeadlessTest.java

@@ -145,7 +145,7 @@ public class HeadlessTest implements ApplicationListener {
 				// Create animation state only when needed
 				AnimationStateData stateData = new AnimationStateData(skeletonData);
 				state = new AnimationState(stateData);
-				
+
 				// Find and set animation
 				Animation animation = skeletonData.findAnimation(animationName);
 				if (animation == null) {