Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Expose getPointedThing to Lua | Dániel Juhász | 2017-07-07 |
| | | | | | | This commit introduces Raycast, a Lua user object, which can be used to perform a raycast on the map. The ray is continuable, so one can also get hidden nodes (for example to see trough glass). | ||
* | C++11 cleanup on constructors (#6000) | Vincent Glize | 2017-06-19 |
| | | | | * C++11 cleanup on constructors dir script | ||
* | Improve getPointedThing() (#4346) | Dániel Juhász | 2017-01-04 |
| | | | | | | | | | | | | | | | | | | | * Improved getPointedThing() The new algorithm checks every node exactly once. Now the point and normal vector of the collision is also returned in the PointedThing (currently they are not used outside of the function). Now the CNodeDefManager keeps the union of all possible nodeboxes, so the raycast won't miss any nodes. Also if there are only small nodeboxes, getPointedThing() is exceptionally fast. Also adds unit test for VoxelLineIterator. * Cleanup, code move This commit moves getPointedThing() and Client::getSelectedActiveObject() to ClientEnvironment. The map nodes now can decide which neighbors they are connecting to (MapNode::getNeighbors()). | ||
* | Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu | Kahrl | 2013-08-14 |
| | |||
* | Update Copyright Years | Sfan5 | 2013-02-24 |
| | |||
* | Change Minetest-c55 to Minetest | PilzAdam | 2013-02-24 |
| | |||
* | Initially split utility.h to multiple files in util/ | Perttu Ahola | 2012-06-17 |