com.wallstop-studios.unity-helpers 2.0.0-rc73.6 → 2.0.0-rc73.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -54,8 +54,8 @@
54
54
  }
55
55
  else
56
56
  {
57
- ratioX = ((float)tex.width) / newWidth;
58
- ratioY = ((float)tex.height) / newHeight;
57
+ ratioX = (float)tex.width / newWidth;
58
+ ratioY = (float)tex.height / newHeight;
59
59
  }
60
60
 
61
61
  w = tex.width;
@@ -123,7 +123,7 @@
123
123
  int y2 = (yFloor + 1) * w;
124
124
  int yw = y * w2;
125
125
 
126
- for (var x = 0; x < w2; x++)
126
+ for (int x = 0; x < w2; x++)
127
127
  {
128
128
  int xFloor = (int)Mathf.Floor(x * ratioX);
129
129
  float xLerp = x * ratioX - xFloor;
@@ -155,7 +155,7 @@
155
155
  {
156
156
  int thisY = (int)(ratioY * y) * w;
157
157
  int yw = y * w2;
158
- for (var x = 0; x < w2; x++)
158
+ for (int x = 0; x < w2; x++)
159
159
  {
160
160
  newColors[yw + x] = texColors[(int)(thisY + ratioX * x)];
161
161
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "com.wallstop-studios.unity-helpers",
3
- "version": "2.0.0-rc73.6",
3
+ "version": "2.0.0-rc73.8",
4
4
  "displayName": "Unity Helpers",
5
5
  "description": "Various Unity Helper Library",
6
6
  "dependencies": {},
@@ -42,3 +42,5 @@
42
42
 
43
43
 
44
44
 
45
+
46
+