6 Commits

Author SHA1 Message Date
Drew DeVault
14aa3ce07a Add "InteractiveBoundingBox" to IBlockProvider
This is used to determine the bounding box for interaction in the client
(the ray that's cast from your camera interacts with it to determine the
highlighted block).

TODO: Make it work better with metadata.

This commit also fixes one of the issues with snow: ref #194
2015-10-02 08:15:29 -04:00
Drew DeVault
2eaaf219a8 Fix torch rendering, track the highlighted face
The second bit will allow the client to start doing things like placing
blocks.
2015-09-27 21:00:32 -04:00
Drew DeVault
10a84b94ee Tweak reach rules a bit 2015-09-27 17:21:23 -04:00
Drew DeVault
02146108ba Fix highlighted block, add crosshairs 2015-09-27 17:14:04 -04:00
Drew DeVault
915937dbd4 Calculate highlighted block in UpdateCamera
Feels a bit buggy, but will refine over time
2015-09-24 08:45:24 -04:00
Drew DeVault
8f2a4e54a9 Add highlighted block model and VoxelCast class 2015-09-24 08:28:16 -04:00