Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Technici4n/voxel-rs
/ functions
Functions
337 in github.com/Technici4n/voxel-rs
⨍
Functions
337
◇
Types & classes
137
↓ 1 callers
Method
remove_chunk_mesh
(&mut self, pos: ChunkPos)
client/src/render/world/mod.rs:439
↓ 1 callers
Method
remove_far_chunks
Remove chunks that are too far for the player
client/src/world.rs:76
↓ 1 callers
Method
render_chunks
Render the chunks
client/src/world.rs:137
↓ 1 callers
Function
render_debug_info
(gui: &mut super::Gui, debug_info: &mut DebugInfo)
client/src/gui/experiments.rs:6
↓ 1 callers
Method
send_chunks_to_player
Get chunks to send to a player this frame, and update the `PlayerData` accordingly. Start generating some chunks if necessary
server/src/world.rs:261
↓ 1 callers
Function
send_worker_perf
Send a debug info worker perf
common/src/debug.rs:81
↓ 1 callers
Method
set_modifiers_state
Update the modifiers
client/src/input.rs:103
↓ 1 callers
Method
should_exit
(&self)
client/src/ui/mod.rs:207
↓ 1 callers
Function
start_lighting_worker
()
server/src/light/worker.rs:12
↓ 1 callers
Function
start_meshing_worker
(block_meshes: Vec<BlockMesh>)
client/src/render/world/meshing_worker.rs:11
↓ 1 callers
Function
start_worldgen_worker
( block_registry: Registry<Block>, world_generator: Box<dyn WorldGenerator + Send> )
server/src/worldgen.rs:10
↓ 1 callers
Method
style
(&self)
client/src/ui/widgets.rs:22
↓ 1 callers
Method
unload_chunk
Unload chunk TODO: persist to disk
server/src/world.rs:249
↓ 1 callers
Method
update
Process some events
quint/src/ui.rs:34
↓ 1 callers
Method
update_chunk_column
Update the highest opaque block in the column, and mark relevant chunks for a light update. To be called after every chunk loading or modification.
server/src/world.rs:80
↓ 1 callers
Method
update_chunk_mesh
( &mut self, device: &wgpu::Device, encoder: &mut wgpu::CommandEncoder, chunk_
client/src/render/world/mod.rs:424
↓ 1 callers
Method
update_column_light
Mark an entire chunk column for light updates
server/src/world.rs:105
↓ 1 callers
Method
update_cursor
TODO: Allow mouse inverting
client/src/input.rs:15
↓ 1 callers
Method
update_mouse_position
Update the mouse position
client/src/gui/mod.rs:34
↓ 1 callers
Function
value_noise
Horribly not optimized value perlin noise
common/src/worldgen/perlin.rs:47
↓ 1 callers
Function
value_noise2d
Value 2d noise
common/src/worldgen/perlin.rs:188
↓ 1 callers
Method
with_padding
Pad this `Layout` by some logical pixels
quint/src/layout.rs:26
↓ 1 callers
Function
write_settings
(path: impl AsRef<Path>, settings: &Settings)
client/src/settings.rs:49
Method
_assert_invariants
(&self)
client/src/render/buffers.rs:267
Method
_get_modifiers_state
(&self)
client/src/input.rs:107
Method
_intersect
return true is the AABB box intersect with the other box
common/src/physics/aabb.rs:34
Method
_intersect_point
Return true if point (px, py, pz) is in the AABB box
common/src/physics/aabb.rs:49
Method
_new_cube
Create an AABB box of cubic shape
common/src/physics/aabb.rs:24
Method
absolute_size
Set absolute size in logical pixels
quint/src/style.rs:60
Method
cmp
(&self, other: &SentPacket)
network/tests/common/mod.rs:23
Method
compute
(&mut self, pos: ChunkPos)
server/src/worldgen.rs:32
Method
compute
(&mut self, data: ChunkLightingData)
server/src/light/worker.rs:39
Method
contains_chunk
Checks whether the frustum contains the chunk. This function may return false positives.
client/src/render/frustum.rs:106
Method
decorate_chunk
(chunks: &mut Vec<Chunk>, decorator: &Decorator)
common/src/worldgen/mod.rs:98
Method
default
()
client/src/input.rs:40
Method
default
()
client/src/settings.rs:76
Method
default
()
network/src/server.rs:28
Method
default
()
server/src/lib.rs:51
Method
default
()
common/src/player.rs:19
Method
default
()
common/src/registry.rs:58
Method
default
()
common/src/physics/player.rs:90
Method
default
()
quint/src/style.rs:66
Method
draw_debug_info
( &self, debug_info: BTreeMap<String, BTreeMap<String, String>>, )
client/src/ui/mod.rs:81
Method
eq
(&self, other: &SentPacket)
network/tests/common/mod.rs:35
Method
eq
(&self, other: &CloseChunkPos)
server/src/lib.rs:295
Method
fill
(&mut self, block: BlockId)
common/src/world.rs:264
Method
fill_unsafe
(&mut self, block: BlockId)
common/src/world.rs:257
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
common/src/registry.rs:9
Method
from
(bs: BitSet)
network/src/types.rs:66
Method
from
((px, py, pz): (i64, i64, i64))
common/src/world.rs:36
Method
from_chunk
(chunk: &Arc<Chunk>)
server/src/light/mod.rs:20
Method
from_chunk
Compress `chunk` using RLE
common/src/world.rs:170
Method
from_stretch
(l: stretch::result::Layout)
quint/src/layout.rs:11
Method
get_camera_position
Get the camera position of the client
common/src/physics/simulation.rs:87
Method
get_light_at
(&self, (px, py, pz): (u32, u32, u32))
common/src/world.rs:286
Method
get_side_plane
(point: Vector3<f64>, other_vector: Vector3<f64>)
client/src/render/frustum.rs:69
Method
handle_cursor_movement
(&mut self, logical_position: winit::dpi::LogicalPosition<f64>)
client/src/singleplayer.rs:343
Method
handle_key_state_changes
(&mut self, changes: Vec<(u32, winit::event::ElementState)>)
client/src/singleplayer.rs:393
Method
handle_key_state_changes
(&mut self, _: Vec<(u32, glutin::ElementState)>)
client/src/mainmenu.rs:79
Method
handle_mouse_motion
(&mut self, _settings: &Settings, delta: (f64, f64))
client/src/singleplayer.rs:337
Method
handle_mouse_state_changes
( &mut self, changes: Vec<(winit::event::MouseButton, winit::event::ElementState)>, )
client/src/singleplayer.rs:349
Method
handle_mouse_state_changes
(&mut self, changes: Vec<(glutin::MouseButton, glutin::ElementState)>)
client/src/mainmenu.rs:75
Method
is_block_full
(&self, pos: BlockPos)
server/src/world.rs:302
Method
is_connected
(&self)
network/src/client.rs:57
Function
main
()
client/src/main.rs:19
Method
new
Create a new empty world using the provided chunks
client/src/world.rs:29
Method
new
()
client/src/input.rs:58
Method
new
()
client/src/fps.rs:10
Method
new
( settings: &mut Settings, device: &mut wgpu::Device, mut client: Box<dyn Client>,
client/src/singleplayer.rs:62
Method
new
(_settings: &mut Settings, gfx: &mut Gfx)
client/src/mainmenu.rs:24
Method
new
(device: &mut wgpu::Device)
client/src/render/ui.rs:24
Method
new
Create a new frustum. This function should be called each frame.
client/src/render/frustum.rs:35
Method
new
( device: &wgpu::Device, encoder: &mut wgpu::CommandEncoder, texture_atlas: ImageBuffe
client/src/render/world/mod.rs:51
Method
new
(block_meshes: Vec<BlockMesh>)
client/src/render/world/meshing_worker.rs:25
Method
new
Create a new Gui
client/src/gui/mod.rs:22
Method
new
()
client/src/ui/mod.rs:30
Method
new
()
network/src/channel.rs:31
Method
new
(socket: S)
network/src/server.rs:48
Method
new
(socket: S, server_addr: SocketAddr)
network/src/client.rs:37
Method
new
(addr: SocketAddr, config: DummySocketConfig)
network/tests/common/mod.rs:65
Method
new
(relative_pos: ChunkPos, reference_chunk: ChunkPos)
server/src/lib.rs:285
Method
new
(block_registry: Registry<Block>, world_generator: Box<dyn WorldGenerator + Send>)
server/src/worldgen.rs:23
Method
new
( block_registry: Registry<Block>, world_generator: Box<dyn WorldGenerator + Send> )
server/src/world.rs:51
Method
new
()
server/src/light/sunlight.rs:12
Method
new
()
server/src/light/mod.rs:14
Method
new
()
server/src/light/worker.rs:29
Method
new
Create a new empty chunk
common/src/world.rs:219
Method
new
()
common/src/time.rs:11
Method
new
Start a new worker with the given state using the provided channel size. The name is used for debug printing.
common/src/worker.rs:27
Method
new
(render_distance: RenderDistance, player_chunk: ChunkPos)
common/src/player.rs:75
Method
new
()
common/src/worldgen/topology.rs:13
Method
new
((x, y, z): (i64, i64, i64), id: u16)
common/src/worldgen/mod.rs:34
Method
new
(block_type: u16)
common/src/worldgen/decorator.rs:20
Method
new
Create a new simulation from some `ServerState` and the client's id
common/src/physics/simulation.rs:64
Method
new
Create a new AABB box
common/src/physics/aabb.rs:14
Method
new
()
quint/src/ui.rs:21
Method
new_current
Create a new `DebugInfo` struct and make it the current one.
common/src/debug.rs:32
Method
new_factory
(client: Box<dyn Client>)
client/src/singleplayer.rs:58
Method
new_leaf
Create a new leaf
quint/src/ui.rs:167
Method
next
(&mut self)
common/src/player.rs:89
← previous
next →
201–300 of 337, ranked by callers