MCPcopy Create free account

hub / github.com/Dreamtowards/Ethertum / functions

Functions267 in github.com/Dreamtowards/Ethertum

↓ 43 callersMethodinsert
(&mut self, str_id: &str)
src/util/registry.rs:13
↓ 34 callersFunctionsfx_play
(resp: Response)
src/client/ui/mod.rs:297
↓ 31 callersMethodlen
(&self)
src/util/registry.rs:34
↓ 17 callersMethodat_voxel
(&self, localpos: IVec3)
src/voxel/chunk.rs:55
↓ 16 callersMethodget
(&self, chan: u8)
src/voxel/vox.rs:166
↓ 15 callersMethodbtn
(&mut self, text: impl Into<WidgetText>)
src/client/ui/mod.rs:312
↓ 15 callersFunctionui_setting_line
(ui: &mut Ui, text: impl Into<egui::RichText>, widget: impl Widget)
src/client/ui/settings.rs:25
↓ 14 callersMethoddata
(&mut self)
src/client/game_client.rs:222
↓ 13 callersMethodas_mut
(&self)
src/util/mod.rs:25
↓ 13 callersMethodsend_packet
(&mut self, client_id: ClientId, packet: &P)
src/net/mod.rs:179
↓ 12 callersMethodisovalue
(&self)
src/voxel/vox.rs:63
↓ 12 callersFunctionsockets_rotate_y
(sockets: [u32; 6])
src/util/wfc.rs:30
↓ 11 callersFunctionas_mut
(v: &T)
src/util/mod.rs:16
↓ 10 callersMethodget_chunk
(&self, chunkpos: IVec3)
src/voxel/mod.rs:36
↓ 10 callersMethodget_voxel_rel_or_default
(&self, relpos: IVec3)
src/voxel/chunk.rs:84
↓ 9 callersMethodat_voxel_mut
(&self, localpos: IVec3)
src/voxel/chunk.rs:59
↓ 9 callersMethodis_nil
(&self)
src/voxel/vox.rs:55
↓ 8 callersFunctionin_ui
(ui: CurrentUI)
src/client/game_client.rs:104
↓ 8 callersMethodmark_chunk_remesh
(&self, chunkpos: IVec3)
src/voxel/voxel_client.rs:636
↓ 7 callersMethodbtn_borderless
(&mut self, text: impl Into<WidgetText>)
src/client/ui/mod.rs:319
↓ 7 callersMethodget_chunks
(&self)
src/voxel/voxel_server.rs:172
↓ 7 callersFunctionhash
(i: i32)
src/util/mod.rs:73
↓ 7 callersMethodis_empty
(&self)
src/item/mod.rs:24
↓ 7 callersFunctionnew_egui_window
(title: &str)
src/client/ui/mod.rs:109
↓ 7 callersFunctionput_face
put a -X face in middle of pos. for foliages.
src/voxel/meshgen.rs:300
↓ 6 callersMethodbtn_normal
(&mut self, text: impl Into<WidgetText>)
src/client/ui/mod.rs:315
↓ 6 callersMethodset
(&mut self, chan: u8, val: u16)
src/voxel/vox.rs:186
↓ 6 callersMethodvert
(&self, idx: u32)
src/util/vertexbuffer.rs:86
↓ 5 callersMethodclear
(&mut self)
src/item/mod.rs:28
↓ 5 callersFunctioncurrent_timestamp_millis
()
src/util/mod.rs:50
↓ 5 callersMethodred
(&self)
src/voxel/vox.rs:157
↓ 5 callersMethodset_red
(&mut self, v: u16)
src/voxel/vox.rs:177
↓ 4 callersMethodbroadcast_packet
(&mut self, packet: &P)
src/net/mod.rs:188
↓ 4 callersMethodclient_entity
(&self)
src/net/mod.rs:93
↓ 4 callersMethodentropy
num superpatterns, num coefficients
src/util/wfc.rs:76
↓ 4 callersFunctionis_chunk_in_load_distance
(mid_cp: IVec3, cp: IVec3, vd: IVec2)
src/voxel/mod.rs:27
↓ 4 callersMethodrun
(&mut self)
src/util/wfc.rs:237
↓ 4 callersMethodsend_packet_disconnect
(&mut self, client_id: ClientId, reason: String)
src/net/mod.rs:182
↓ 4 callersFunctionsockets_flip_x
(sockets: [u32; 6])
src/util/wfc.rs:34
↓ 4 callersMethodvertex_count
(&self)
src/util/vertexbuffer.rs:73
↓ 3 callersMethodbroadcast_packet_chat
(&mut self, message: String)
src/net/mod.rs:194
↓ 3 callersFunctioncolor32_gray_alpha
(gray: f32, alpha: f32)
src/client/ui/mod.rs:131
↓ 3 callersMethodcompute_indexed_naive
(&mut self)
src/util/vertexbuffer.rs:146
↓ 3 callersFunctioncurrent_timestamp
()
src/util/mod.rs:46
↓ 3 callersMethodexit_world
(&mut self)
src/client/game_client.rs:275
↓ 3 callersMethodget
(&self, str_id: &String)
src/util/registry.rs:25
↓ 3 callersFunctionget_axis
(key_input: &Res<Input<KeyCode>>, key_pos: KeyCode, key_neg: KeyCode)
assets/_refer_code/controller.rs:444
↓ 3 callersMethodget_chunk_rel
(&self, relpos: IVec3)
src/voxel/chunk.rs:103
↓ 3 callersMethodis_indexed
(&self)
src/util/vertexbuffer.rs:69
↓ 3 callersMethodis_isoval_empty
(&self)
src/voxel/vox.rs:72
↓ 3 callersFunctionisoval_u8
todo: bugfix 自从压缩成u8后,地下有一些小碎片三角形 可能是由于精度误差 -0.01 变成 0.01 之类的了。要 修复这种bug 应该是把接近0的数值扩大 再转成u8.
src/voxel/vox.rs:37
↓ 3 callersFunctioniter_center_spread
(nxz: i32, ny: i32, mut func: impl FnMut(IVec3))
src/util/mod.rs:128
↓ 3 callersMethodpush_vertex
(&mut self, pos: Vec3, uv: Vec2, norm: Vec3)
src/util/vertexbuffer.rs:65
↓ 3 callersMethodset_blue
(&mut self, v: u16)
src/voxel/vox.rs:183
↓ 3 callersMethodset_green
(&mut self, v: u16)
src/voxel/vox.rs:180
↓ 3 callersMethodset_isovalue
(&mut self, val: f32)
src/voxel/vox.rs:69
↓ 3 callersMethodset_sky
(&mut self, v: u16)
src/voxel/vox.rs:174
↓ 3 callersMethodto_mesh
(&self, mesh: &mut Mesh)
src/util/vertexbuffer.rs:192
↓ 3 callersFunctionui_lr_panel
UI Panel: Left-Navs and Right-Content
src/client/ui/mod.rs:243
↓ 2 callersFunctionacceleration
(wish_direction: Vec3, wish_speed: f32, acceleration: f32, velocity: Vec3, dt: f32)
assets/_refer_code/controller.rs:425
↓ 2 callersMethodat_interval
(&self, interval: f32)
src/util/mod.rs:57
↓ 2 callersMethodbroadcast_packet_except
(&mut self, except_id: ClientId, packet: &P)
src/net/mod.rs:191
↓ 2 callersMethodclear
(&mut self)
src/util/vertexbuffer.rs:94
↓ 2 callersFunctioncolor32_of
(c: Srgba)
src/client/ui/mod.rs:127
↓ 2 callersMethodconnect_server
(&mut self, server_addr: String)
src/client/game_client.rs:226
↓ 2 callersFunctiondraw_item
(slot: &ItemStack, rect: Rect, painter: &Painter)
src/client/ui/items.rs:24
↓ 2 callersFunctiongen_tree
(chunk: &mut Chunk, lp: IVec3, siz: f32)
src/voxel/worldgen.rs:154
↓ 2 callersFunctiongenerate_chunk
(chunk: &mut Chunk)
src/voxel/worldgen.rs:9
↓ 2 callersMethodget_chunk
(&self, chunkpos: IVec3)
assets/_refer_code/chunk_system.rs:83
↓ 2 callersMethodget_chunk_neib
(&self, neib_idx: usize)
src/voxel/chunk.rs:110
↓ 2 callersMethodget_chunks
(&self)
src/voxel/voxel_client.rs:608
↓ 2 callersFunctionget_pressed
(key_input: &Res<Input<KeyCode>>, key: KeyCode)
assets/_refer_code/controller.rs:436
↓ 2 callersMethodget_voxel
(&self, p: IVec3)
src/voxel/mod.rs:50
↓ 2 callersMethodget_voxel_rel
(&self, relpos: IVec3)
src/voxel/chunk.rs:63
↓ 2 callersMethodhas_chunk
(&self, chunkpos: IVec3)
src/voxel/mod.rs:41
↓ 2 callersFunctionidx_3d
(pos: IVec3, extent: IVec3)
src/util/wfc.rs:119
↓ 2 callersFunctionidx_3d_pos_inbound
(pos: IVec3, extent: IVec3)
src/util/wfc.rs:116
↓ 2 callersFunctioninit
(app: &mut App)
src/client/input.rs:12
↓ 2 callersMethodis_collapsed
(&self)
src/util/wfc.rs:71
↓ 2 callersMethodis_cube
(&self)
src/voxel/vox.rs:59
↓ 2 callersMethodis_obaque_cube
(&self)
src/voxel/vox.rs:76
↓ 2 callersFunctioniter_aabb
[min to max] yzx order
src/util/mod.rs:107
↓ 2 callersFunctioniter_xzy
(n: i32, mut func: impl FnMut(IVec3))
src/util/mod.rs:147
↓ 2 callersMethodmark_chunk_remesh
(&mut self, chunkpos: IVec3)
assets/_refer_code/chunk_system.rs:172
↓ 2 callersFunctionoverhang_component
(entity: Entity, transform: &Transform, physics_context: &RapierContext, velocity: Vec3, dt: f32)
assets/_refer_code/controller.rs:394
↓ 2 callersFunctionput_cube
(vbuf: &mut VertexBuffer, lp: IVec3, chunk: &Chunk, vox: &Vox)
src/voxel/meshgen.rs:274
↓ 2 callersFunctionset_cursor_pos
(ctx: &egui::Context, id: egui::Id, pos: usize)
src/client/ui/hud.rs:33
↓ 2 callersFunctionsn_signchanged
(c0: &Vox, c1: &Vox)
src/voxel/meshgen.rs:131
↓ 2 callersMethodspawn_chunk
(&mut self, mut chunk: Chunk, cmds: &mut Commands, meshes: &mut Assets<Mesh>)
src/voxel/voxel_client.rs:640
↓ 2 callersFunctionspawn_player
( ec: &mut EntityCommands, is_theplayer: bool, _name: &String, // cmds: &mut Commands, _as
src/net/netproc_client.rs:197
↓ 2 callersFunctionui_holding_item
()
src/client/ui/items.rs:8
↓ 2 callersFunctionui_item_stack
(ui: &mut egui::Ui, slot: &mut ItemStack)
src/client/ui/items.rs:47
↓ 2 callersFunctionunload_world
()
src/client/game_client.rs:98
↓ 2 callersMethodupdate
(&mut self, dt: f32)
src/util/mod.rs:170
↓ 1 callersMethodat
(&self, num_id: RegId)
src/util/registry.rs:21
↓ 1 callersMethodblue
(&self)
src/voxel/vox.rs:163
↓ 1 callersMethodbuild
(&self, app: &mut App)
src/item/mod.rs:56
↓ 1 callersMethodbuild_num_id
(&mut self)
src/util/registry.rs:30
↓ 1 callersFunctionbuild_plugin
(app: &mut App)
src/client/settings.rs:25
↓ 1 callersMethodcollapse
(&mut self)
src/util/wfc.rs:80
next →1–100 of 267, ranked by callers