Updated readme

This commit is contained in:
thedaneeffect committed 2021-02-27 20:15:27 -05:00
1 parent a0d01b1721
commit bb44ccebbe
1 file changed
+4 -3
+4 -3
View File
@@ -40,15 +40,16 @@ Based on [Moparisthebest's release](https://www.moparisthebest.com/downloads/rs3
Since there are a lot of different types of coordinates used, I'll be standardizing some acronyms to better identify their usages and ranges using [interval notation](https://en.wikipedia.org/wiki/Interval_(mathematics)#Integer_intervals). Since there are a lot of different types of coordinates used, I'll be standardizing some acronyms to better identify their usages and ranges using [interval notation](https://en.wikipedia.org/wiki/Interval_(mathematics)#Integer_intervals).
```glsl ```glsl
int x, y, z; // Context specific. see note 1
int rx, ry; // A region. (50, 50) [0...65536] int rx, ry; // A region. (50, 50) [0...65536]
int tx, ty; // A tile. (3222, 3222) [0...65536] int tx, ty; // A tile. (3222, 3222) [0...65536]
int cx, cy, cz; // A chunk. (402, 0, 402) [0...65536] int cx, cy, cz; // A chunk. (402, 0, 402) [0...65536]
int ctx, ctz; // A chunk tile. (3, 3) [0...7] int ctx, ctz; // A chunk tile. (3, 3) [0...7]
int stx, sty; // A scene tile. (50, 50) [0...103] int stx, sty; // A scene tile. (50, 50) [0...103]
int sx, sy, sz; // A scene coordinate. (6400, -104, 6400) [0...13312] see note 1 int sx, sy, sz; // A scene coordinate. (6400, -104, 6400) [0...13312] see note 2
``` ```
<sub><sup><sup>1</sup>Description should be inferred by method name or be in comments.</sup></sub><br/>
<sub><sup><sup>1</sup>The y coordinate is generally between 0 and -960 depending on the terrain height. Technically the limit is created by the use of 16.16 fixed point math with sin/cos allowing overflow for scene values over 32768.</sup></sub> <sub><sup><sup>2</sup>The y coordinate is generally between 0 and -960 depending on the terrain height. Technically the limit is created by the use of 16.16 fixed point math with sin/cos allowing overflow for scene values over 32768.</sup></sub>
# Semantics # Semantics
- Refactored - Refactored