- Timestamp:
- Aug 31, 2014, 11:11:11 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/7dtd-server-fixes/src/MapRendering/MapRendering.cs
r148 r151 227 227 private void getBlockNumber (Vector2i innerPos, out Vector2i block, out Vector2i blockOffset, int scaleFactor, int offsetSize) 228 228 { 229 block = default(Vector2i); 230 blockOffset = default(Vector2i); 229 231 block.x = ((innerPos.x + 16777216) / scaleFactor) - (16777216 / scaleFactor); 230 232 block.y = ((innerPos.y + 16777216) / scaleFactor) - (16777216 / scaleFactor); … … 238 240 out int widthPix, out int heightPix) 239 241 { 242 minChunk = default(Vector2i); 243 maxChunk = default(Vector2i); 244 minPos = default(Vector2i); 245 maxPos = default(Vector2i); 246 240 247 long[] keys = rfm.GetAllChunkKeys (); 241 248 int minX = Int32.MaxValue;
Note:
See TracChangeset
for help on using the changeset viewer.