Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Dreamtowards/Ethertum
/ functions
Functions
267 in github.com/Dreamtowards/Ethertum
⨍
Functions
267
◇
Types & classes
79
↓ 43 callers
Method
insert
(&mut self, str_id: &str)
src/util/registry.rs:13
↓ 34 callers
Function
sfx_play
(resp: Response)
src/client/ui/mod.rs:297
↓ 31 callers
Method
len
(&self)
src/util/registry.rs:34
↓ 17 callers
Method
at_voxel
(&self, localpos: IVec3)
src/voxel/chunk.rs:55
↓ 16 callers
Method
get
(&self, chan: u8)
src/voxel/vox.rs:166
↓ 15 callers
Method
btn
(&mut self, text: impl Into<WidgetText>)
src/client/ui/mod.rs:312
↓ 15 callers
Function
ui_setting_line
(ui: &mut Ui, text: impl Into<egui::RichText>, widget: impl Widget)
src/client/ui/settings.rs:25
↓ 14 callers
Method
data
(&mut self)
src/client/game_client.rs:222
↓ 13 callers
Method
as_mut
(&self)
src/util/mod.rs:25
↓ 13 callers
Method
send_packet
(&mut self, client_id: ClientId, packet: &P)
src/net/mod.rs:179
↓ 12 callers
Method
isovalue
(&self)
src/voxel/vox.rs:63
↓ 12 callers
Function
sockets_rotate_y
(sockets: [u32; 6])
src/util/wfc.rs:30
↓ 11 callers
Function
as_mut
(v: &T)
src/util/mod.rs:16
↓ 10 callers
Method
get_chunk
(&self, chunkpos: IVec3)
src/voxel/mod.rs:36
↓ 10 callers
Method
get_voxel_rel_or_default
(&self, relpos: IVec3)
src/voxel/chunk.rs:84
↓ 9 callers
Method
at_voxel_mut
(&self, localpos: IVec3)
src/voxel/chunk.rs:59
↓ 9 callers
Method
is_nil
(&self)
src/voxel/vox.rs:55
↓ 8 callers
Function
in_ui
(ui: CurrentUI)
src/client/game_client.rs:104
↓ 8 callers
Method
mark_chunk_remesh
(&self, chunkpos: IVec3)
src/voxel/voxel_client.rs:636
↓ 7 callers
Method
btn_borderless
(&mut self, text: impl Into<WidgetText>)
src/client/ui/mod.rs:319
↓ 7 callers
Method
get_chunks
(&self)
src/voxel/voxel_server.rs:172
↓ 7 callers
Function
hash
(i: i32)
src/util/mod.rs:73
↓ 7 callers
Method
is_empty
(&self)
src/item/mod.rs:24
↓ 7 callers
Function
new_egui_window
(title: &str)
src/client/ui/mod.rs:109
↓ 7 callers
Function
put_face
put a -X face in middle of pos. for foliages.
src/voxel/meshgen.rs:300
↓ 6 callers
Method
btn_normal
(&mut self, text: impl Into<WidgetText>)
src/client/ui/mod.rs:315
↓ 6 callers
Method
set
(&mut self, chan: u8, val: u16)
src/voxel/vox.rs:186
↓ 6 callers
Method
vert
(&self, idx: u32)
src/util/vertexbuffer.rs:86
↓ 5 callers
Method
clear
(&mut self)
src/item/mod.rs:28
↓ 5 callers
Function
current_timestamp_millis
()
src/util/mod.rs:50
↓ 5 callers
Method
red
(&self)
src/voxel/vox.rs:157
↓ 5 callers
Method
set_red
(&mut self, v: u16)
src/voxel/vox.rs:177
↓ 4 callers
Method
broadcast_packet
(&mut self, packet: &P)
src/net/mod.rs:188
↓ 4 callers
Method
client_entity
(&self)
src/net/mod.rs:93
↓ 4 callers
Method
entropy
num superpatterns, num coefficients
src/util/wfc.rs:76
↓ 4 callers
Function
is_chunk_in_load_distance
(mid_cp: IVec3, cp: IVec3, vd: IVec2)
src/voxel/mod.rs:27
↓ 4 callers
Method
run
(&mut self)
src/util/wfc.rs:237
↓ 4 callers
Method
send_packet_disconnect
(&mut self, client_id: ClientId, reason: String)
src/net/mod.rs:182
↓ 4 callers
Function
sockets_flip_x
(sockets: [u32; 6])
src/util/wfc.rs:34
↓ 4 callers
Method
vertex_count
(&self)
src/util/vertexbuffer.rs:73
↓ 3 callers
Method
broadcast_packet_chat
(&mut self, message: String)
src/net/mod.rs:194
↓ 3 callers
Function
color32_gray_alpha
(gray: f32, alpha: f32)
src/client/ui/mod.rs:131
↓ 3 callers
Method
compute_indexed_naive
(&mut self)
src/util/vertexbuffer.rs:146
↓ 3 callers
Function
current_timestamp
()
src/util/mod.rs:46
↓ 3 callers
Method
exit_world
(&mut self)
src/client/game_client.rs:275
↓ 3 callers
Method
get
(&self, str_id: &String)
src/util/registry.rs:25
↓ 3 callers
Function
get_axis
(key_input: &Res<Input<KeyCode>>, key_pos: KeyCode, key_neg: KeyCode)
assets/_refer_code/controller.rs:444
↓ 3 callers
Method
get_chunk_rel
(&self, relpos: IVec3)
src/voxel/chunk.rs:103
↓ 3 callers
Method
is_indexed
(&self)
src/util/vertexbuffer.rs:69
↓ 3 callers
Method
is_isoval_empty
(&self)
src/voxel/vox.rs:72
↓ 3 callers
Function
isoval_u8
todo: bugfix 自从压缩成u8后,地下有一些小碎片三角形 可能是由于精度误差 -0.01 变成 0.01 之类的了。要 修复这种bug 应该是把接近0的数值扩大 再转成u8.
src/voxel/vox.rs:37
↓ 3 callers
Function
iter_center_spread
(nxz: i32, ny: i32, mut func: impl FnMut(IVec3))
src/util/mod.rs:128
↓ 3 callers
Method
push_vertex
(&mut self, pos: Vec3, uv: Vec2, norm: Vec3)
src/util/vertexbuffer.rs:65
↓ 3 callers
Method
set_blue
(&mut self, v: u16)
src/voxel/vox.rs:183
↓ 3 callers
Method
set_green
(&mut self, v: u16)
src/voxel/vox.rs:180
↓ 3 callers
Method
set_isovalue
(&mut self, val: f32)
src/voxel/vox.rs:69
↓ 3 callers
Method
set_sky
(&mut self, v: u16)
src/voxel/vox.rs:174
↓ 3 callers
Method
to_mesh
(&self, mesh: &mut Mesh)
src/util/vertexbuffer.rs:192
↓ 3 callers
Function
ui_lr_panel
UI Panel: Left-Navs and Right-Content
src/client/ui/mod.rs:243
↓ 2 callers
Function
acceleration
(wish_direction: Vec3, wish_speed: f32, acceleration: f32, velocity: Vec3, dt: f32)
assets/_refer_code/controller.rs:425
↓ 2 callers
Method
at_interval
(&self, interval: f32)
src/util/mod.rs:57
↓ 2 callers
Method
broadcast_packet_except
(&mut self, except_id: ClientId, packet: &P)
src/net/mod.rs:191
↓ 2 callers
Method
clear
(&mut self)
src/util/vertexbuffer.rs:94
↓ 2 callers
Function
color32_of
(c: Srgba)
src/client/ui/mod.rs:127
↓ 2 callers
Method
connect_server
(&mut self, server_addr: String)
src/client/game_client.rs:226
↓ 2 callers
Function
draw_item
(slot: &ItemStack, rect: Rect, painter: &Painter)
src/client/ui/items.rs:24
↓ 2 callers
Function
gen_tree
(chunk: &mut Chunk, lp: IVec3, siz: f32)
src/voxel/worldgen.rs:154
↓ 2 callers
Function
generate_chunk
(chunk: &mut Chunk)
src/voxel/worldgen.rs:9
↓ 2 callers
Method
get_chunk
(&self, chunkpos: IVec3)
assets/_refer_code/chunk_system.rs:83
↓ 2 callers
Method
get_chunk_neib
(&self, neib_idx: usize)
src/voxel/chunk.rs:110
↓ 2 callers
Method
get_chunks
(&self)
src/voxel/voxel_client.rs:608
↓ 2 callers
Function
get_pressed
(key_input: &Res<Input<KeyCode>>, key: KeyCode)
assets/_refer_code/controller.rs:436
↓ 2 callers
Method
get_voxel
(&self, p: IVec3)
src/voxel/mod.rs:50
↓ 2 callers
Method
get_voxel_rel
(&self, relpos: IVec3)
src/voxel/chunk.rs:63
↓ 2 callers
Method
has_chunk
(&self, chunkpos: IVec3)
src/voxel/mod.rs:41
↓ 2 callers
Function
idx_3d
(pos: IVec3, extent: IVec3)
src/util/wfc.rs:119
↓ 2 callers
Function
idx_3d_pos_inbound
(pos: IVec3, extent: IVec3)
src/util/wfc.rs:116
↓ 2 callers
Function
init
(app: &mut App)
src/client/input.rs:12
↓ 2 callers
Method
is_collapsed
(&self)
src/util/wfc.rs:71
↓ 2 callers
Method
is_cube
(&self)
src/voxel/vox.rs:59
↓ 2 callers
Method
is_obaque_cube
(&self)
src/voxel/vox.rs:76
↓ 2 callers
Function
iter_aabb
[min to max] yzx order
src/util/mod.rs:107
↓ 2 callers
Function
iter_xzy
(n: i32, mut func: impl FnMut(IVec3))
src/util/mod.rs:147
↓ 2 callers
Method
mark_chunk_remesh
(&mut self, chunkpos: IVec3)
assets/_refer_code/chunk_system.rs:172
↓ 2 callers
Function
overhang_component
(entity: Entity, transform: &Transform, physics_context: &RapierContext, velocity: Vec3, dt: f32)
assets/_refer_code/controller.rs:394
↓ 2 callers
Function
put_cube
(vbuf: &mut VertexBuffer, lp: IVec3, chunk: &Chunk, vox: &Vox)
src/voxel/meshgen.rs:274
↓ 2 callers
Function
set_cursor_pos
(ctx: &egui::Context, id: egui::Id, pos: usize)
src/client/ui/hud.rs:33
↓ 2 callers
Function
sn_signchanged
(c0: &Vox, c1: &Vox)
src/voxel/meshgen.rs:131
↓ 2 callers
Method
spawn_chunk
(&mut self, mut chunk: Chunk, cmds: &mut Commands, meshes: &mut Assets<Mesh>)
src/voxel/voxel_client.rs:640
↓ 2 callers
Function
spawn_player
( ec: &mut EntityCommands, is_theplayer: bool, _name: &String, // cmds: &mut Commands, _as
src/net/netproc_client.rs:197
↓ 2 callers
Function
ui_holding_item
()
src/client/ui/items.rs:8
↓ 2 callers
Function
ui_item_stack
(ui: &mut egui::Ui, slot: &mut ItemStack)
src/client/ui/items.rs:47
↓ 2 callers
Function
unload_world
()
src/client/game_client.rs:98
↓ 2 callers
Method
update
(&mut self, dt: f32)
src/util/mod.rs:170
↓ 1 callers
Method
at
(&self, num_id: RegId)
src/util/registry.rs:21
↓ 1 callers
Method
blue
(&self)
src/voxel/vox.rs:163
↓ 1 callers
Method
build
(&self, app: &mut App)
src/item/mod.rs:56
↓ 1 callers
Method
build_num_id
(&mut self)
src/util/registry.rs:30
↓ 1 callers
Function
build_plugin
(app: &mut App)
src/client/settings.rs:25
↓ 1 callers
Method
collapse
(&mut self)
src/util/wfc.rs:80
next →
1–100 of 267, ranked by callers