aboutsummaryrefslogtreecommitdiff
path: root/src/util/numeric.h
Commit message (Collapse)AuthorAge
* Fix several MSVC issues numeric.hSmallJoker2015-05-01
| | | | | -> Round negative numbers correctly CMakeLists.txt -> Link Json with the static run-time library
* Clean scaling pre-filter for formspec/HUD.Aaron Suen2015-04-01
|
* Fix set_bitskwolekr2015-03-31
|
* GenElementManager: Pass opaque handles to Lua and rename to ObjDefManagerkwolekr2015-03-31
| | | | Add core.clear_registered_schematics() and refactor schematics somewhat
* Add support for the PCG32 PRNG algo (and associated script APIs)kwolekr2015-03-22
|
* Fix wrapDegrees family of functionsCraig Robbins2015-02-23
| | | | | | | | wrapDegrees() (renamed to modulo360f) wrapDegrees_0_360 wrapDegrees_180 Minor errors were present in previous versions; see issue #2328
* Performance Improvement: Use a cache which caches result for getFacePositions.Loic Blot2015-02-16
| | | | | | | | | | | This greatly reduce the number of std::list generated by caching the result, which is always constant for each radius selected. In the callgrind map, you will see original: * 3.3M calls to std::list for 9700 calls to getFacePositions In the modified version, you will see: * 3.3K calls to std::list for 6900 call to getFacePositions Callgrind map is here: #2321 it's a huge performance improvement to l_find_node_near
* Water fixesgregorycu2015-01-18
| | | | | | | Change must_reflow to a deque Add overload for MapBlock::raiseModified that takes a const char*. This is a speed improvement. Comment out unused variable Optimisations to block offset calculations
* Remove unused rangelim function (the macro still exists)Kahrl2014-11-19
|
* Implement WieldMeshSceneNode which improves wield mesh renderingKahrl2014-11-08
| | | | | | | | | | | | | - Don't create and cache an extruded mesh for every (non-node) item. Instead use a single one per image resolution. - For cubic nodes reuse a single wield mesh too - Improve lighting of the wielded item - Increase far value of wield mesh scene camera, fixes #1770 - Also includes some minor refactorings of Camera and GenericCAO.
* Refactor decoration-related codekwolekr2014-10-29
| | | | | Split up ModApiMapgen::l_register_decoration() Define and make use of CONTAINS() and ARRLEN() macros
* Accept hexadecimal and string values for seedskwolekr2013-11-04
|
* Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl2013-08-14
|
* Weather supportproller2013-07-27
|
* Decoration: Add Schematic decoration typekwolekr2013-06-22
|
* Migrate to STL containers/algorithms.Ilya Zhuravlev2013-03-11
|
* Update Copyright YearsSfan52013-02-24
|
* Change Minetest-c55 to MinetestPilzAdam2013-02-24
|
* The new mapgen, noise functions, et al.kwolekr2013-01-21
|
* Optimize headersPerttu Ahola2012-06-17
|
* Initially split utility.h to multiple files in util/Perttu Ahola2012-06-17