diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-01-17 02:40:53 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-01-17 02:40:53 +0200 |
commit | 3891bc43e084b9bd1c345638dfbbffa9d71658c9 (patch) | |
tree | 1a32921c26409c735c062bfc8131b0c71728fadb /src/utility.h | |
parent | 7068bc90af1f452359a1fcfe20fa01fc88f3d70a (diff) | |
download | minetest-3891bc43e084b9bd1c345638dfbbffa9d71658c9.tar.gz minetest-3891bc43e084b9bd1c345638dfbbffa9d71658c9.tar.bz2 minetest-3891bc43e084b9bd1c345638dfbbffa9d71658c9.zip |
fine-tuning of map generator and server and stuff.
Diffstat (limited to 'src/utility.h')
-rw-r--r-- | src/utility.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/utility.h b/src/utility.h index 28cc95ddd..c4f45ba0f 100644 --- a/src/utility.h +++ b/src/utility.h @@ -1574,5 +1574,12 @@ private: core::map<std::string, PointAttributeList*> m_lists; }; +/* + Miscellaneous functions +*/ + +bool isBlockInSight(v3s16 blockpos_b, v3f camera_pos, v3f camera_dir, f32 range); + + #endif |