#include <mesh_generator_thread.h>
◆ QueuedMeshUpdate()
| QueuedMeshUpdate::QueuedMeshUpdate |
( |
| ) |
|
|
default |
◆ ~QueuedMeshUpdate()
| QueuedMeshUpdate::~QueuedMeshUpdate |
( |
| ) |
|
◆ checkSkip()
| bool QueuedMeshUpdate::checkSkip |
( |
u16 | cell_size | ) |
|
Check if the blocks that would comprise the mesh are all air, so the update can be skipped entirely.
- Parameters
-
| cell_size | mesh grid cell size |
- Returns
- (true = all air)
References map_blocks, and p.
◆ dropBlocks()
| void QueuedMeshUpdate::dropBlocks |
( |
| ) |
|
Drop block references.
- Note
- not done by destructor, since this is only safe on main thread
References map_blocks.
◆ retrieveBlocks()
| void QueuedMeshUpdate::retrieveBlocks |
( |
Map * | map, |
|
|
u16 | cell_size ) |
◆ ack_list
| std::vector<v3s16> QueuedMeshUpdate::ack_list |
◆ crack_level
| int QueuedMeshUpdate::crack_level = -1 |
◆ crack_pos
| v3s16 QueuedMeshUpdate::crack_pos |
◆ data
◆ map_blocks
| std::vector<MapBlock*> QueuedMeshUpdate::map_blocks |
| v3s16 QueuedMeshUpdate::p = v3s16(-1337, -1337, -1337) |
◆ urgent
| bool QueuedMeshUpdate::urgent = false |
The documentation for this struct was generated from the following files: