diff options
| author | Jonas Ask | 2009-11-20 16:30:03 +0000 |
|---|---|---|
| committer | Jonas Ask | 2009-11-20 16:30:03 +0000 |
| commit | c606858a2e226e91919c7f084e7f40300a1ccb56 (patch) | |
| tree | f32c55fa3596bc99924ddf06833cfa82a3922d27 /WorldSegment.h | |
| parent | 1c737281d6bf440198c19b4d8facd76375e4c05d (diff) | |
| download | stonesense-c606858a2e226e91919c7f084e7f40300a1ccb56.tar.gz stonesense-c606858a2e226e91919c7f084e7f40300a1ccb56.tar.bz2 stonesense-c606858a2e226e91919c7f084e7f40300a1ccb56.tar.xz | |
Improved how the view clips to the world boundaries.
Diffstat (limited to 'WorldSegment.h')
| -rw-r--r-- | WorldSegment.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WorldSegment.h b/WorldSegment.h index fa43f9a..06a744a 100644 --- a/WorldSegment.h +++ b/WorldSegment.h @@ -41,7 +41,7 @@ public: return (uint32_t)blocks.size();
}
- Block* getBlock(uint32_t x, uint32_t y, uint32_t z);
+ Block* getBlock(int32_t x, int32_t y, int32_t z);
Block* getBlockLocal(uint32_t x, uint32_t y, uint32_t z);
Block* getBlockRelativeTo(uint32_t x, uint32_t y, uint32_t z, dirRelative direction);
Block* getBlock(uint32_t index);
|
