MCPcopy Create free account

hub / github.com/bfops/playform / functions

Functions312 in github.com/bfops/playform

↓ 2 callersFunctionset
(d: Dimension, p: &mut Point3<f32>, v: f32)
server/lib/src/octree.rs:44
↓ 2 callersFunctionset_ambient_light
Sets the `ambient_light` uniform in some shader.
client/lib/src/view/light.rs:69
↓ 2 callersFunctionto_triangles
( bounds: &Aabb3<f32>, c: &Color4<f32>, )
client/lib/src/server_update.rs:113
↓ 2 callersMethodtranslate_misc
(&mut self, id: entity::id::Misc, amount: Vector3<f32>)
server/lib/src/physics.rs:63
↓ 2 callersMethodtry
(&self)
client/lib/src/server.rs:47
↓ 2 callersFunctionunit
This T sits at (0, 0, 0), maps [-1, 1] in x horizontally, maps [-1, 1] in y vertically, and [0, -1] in z in depth.
client/lib/src/view/camera.rs:34
↓ 2 callersMethodunload
( &self, physics : &Mutex<physics::T>, position : &voxel::bounds::T, owner : lod::OwnerId,
server/lib/src/terrain_loader.rs:152
↓ 2 callersMethoduntil_quit
Keep running this closure series until a quit signal is received.
common/closure_series.rs:34
↓ 2 callersFunctionupdate_thread
( quit : &Mutex<bool>, client : &client::T, recv_server : &mut Re
client/lib/src/update_thread.rs:23
↓ 2 callersFunctionvoxels_in
return a vector of all the voxels of a certain size that are contained within an AABB
client/lib/src/terrain_mesh.rs:43
↓ 2 callersMethodwrite
Block until we can send this socket a message.
common/socket.rs:33
↓ 1 callersFunctionaabb_overlap
(aabb1: &Aabb3<f32>, aabb2: &Aabb3<f32>)
server/lib/src/octree.rs:8
↓ 1 callersMethodadd
record a chunk
client/lib/src/chunk_stats.rs:22
↓ 1 callersFunctionadd_mob
( server: &server::T, low_corner: Point3<f32>, behavior: mob::Behavior, )
server/lib/src/init_mobs.rs:99
↓ 1 callersFunctionall
Iterate through all the indices in a buffer
common/index.rs:42
↓ 1 callersMethodambient_intensity
The intensity of ambient lighting from the sun.
client/lib/src/view/light.rs:43
↓ 1 callersFunctionapply_client_update
( server: &server::T, update_gaia: &mut UpdateGaia, update: protocol::ClientToServer, )
server/lib/src/client_recv_thread.rs:50
↓ 1 callersFunctionapply_server_update
dispatch a server message among the subsystems
client/lib/src/server_update.rs:25
↓ 1 callersFunctionaudio_thread
( _quit: &Mutex<bool>, _recv_message: &mut RecvMessage, )
client/lib/src/audio_thread.rs:20
↓ 1 callersMethodbind_materials
( &self, gl: &mut GLContext, texture_unit_alloc: &mut id_allocator::T<TextureUnit>, shader: &m
client/lib/src/view/terrain_buffers.rs:154
↓ 1 callersMethodbrush
Apply a voxel brush to the terrain.
server/lib/terrain/mod.rs:66
↓ 1 callersFunctioncenter
(bounds: &Aabb3<f32>)
server/lib/src/client_recv_thread.rs:24
↓ 1 callersMethodclose
Terminate this connection.
common/socket.rs:38
↓ 1 callersFunctionconnect_client
(listen_url: &str, server: &server::T)
client/dummy/mod.rs:89
↓ 1 callersFunctionconnect_client
(listen_url: &str, server: &server::T)
client/lib/src/run.rs:138
↓ 1 callersFunctioncontaining_voxel
(bounds: &voxel::bounds::T)
client/lib/src/chunk.rs:24
↓ 1 callersMethoddirection
A vector pointing toward the sun.
client/lib/src/view/light.rs:27
↓ 1 callersMethoddowncast
Cast to an index of more granular elements.
common/index.rs:58
↓ 1 callersFunctiondraw_backdrop
( rndr: &mut view::T, )
client/lib/src/view/render.rs:29
↓ 1 callersFunctiondraw_grass_billboards
( rndr: &mut view::T, )
client/lib/src/view/render.rs:61
↓ 1 callersFunctionempty
()
client/lib/src/view/chunked_terrain.rs:130
↓ 1 callersMethodenqueue
enqueue an unordered series of individual voxel loads
client/lib/src/terrain.rs:69
↓ 1 callersFunctionensure_init
()
client/lib/src/view/ttf.rs:80
↓ 1 callersMethodforce_load_chunk
( &mut self, terrain_allocator : &std::sync::Mutex<id_allocator::T<view::entity::id::Terrain>>, gr
client/lib/src/terrain.rs:127
↓ 1 callersMethodforward
Return the "Ray axis (i.e. the z-axis rotated to match you).
server/lib/src/player.rs:277
↓ 1 callersMethodforward_ray
(&self)
server/lib/src/player.rs:287
↓ 1 callersFunctiongenerate
( voxels : &voxel::tree::T, chunk_stats : &mut chunk_stats::T, chunk_position : &chunk::po
client/lib/src/terrain_mesh.rs:118
↓ 1 callersFunctioninit_mobs
( server: &server::T, )
server/lib/src/init_mobs.rs:17
↓ 1 callersMethodinsert_from
like insert, but before recursing downward, we recurse up the parents until the bounds provided are inside the tree.
server/lib/src/octree.rs:259
↓ 1 callersMethodinsert_terrain
(&mut self, id: entity::id::Terrain, bounds: &Aabb3<f32>)
server/lib/src/physics.rs:31
↓ 1 callersFunctioninside_sphere
( rng: &mut Rng, radius: f32, )
server/lib/terrain/tree.rs:41
↓ 1 callersMethodis_empty
(&self)
client/lib/src/terrain_mesh.rs:248
↓ 1 callersFunctionkey_press
( update_server: &mut UpdateServer, view: &mut view::T, client: &client::T, key: Keycode, )
client/lib/src/process_event.rs:49
↓ 1 callersFunctionkey_release
( player_id: entity::id::Player, update_server: &mut UpdateServer, key: Keycode, )
client/lib/src/process_event.rs:158
↓ 1 callersFunctionload_distance
(mut polygon_budget: i32)
client/lib/src/client.rs:48
↓ 1 callersFunctionload_from_file
(path: &str)
client/lib/src/audio_loader.rs:47
↓ 1 callersFunctionload_grass_texture
( gl: &'a mut GLContext, )
client/lib/src/view/mod.rs:85
↓ 1 callersFunctionload_terrain
(terrain: &terrain::T, path: &std::path::Path)
server/lib/src/run.rs:175
↓ 1 callersMethodload_voxel
( &mut self, player_position : &cgmath::Point3<f32>, voxel : voxel::T, bounds
client/lib/src/terrain.rs:225
↓ 1 callersMethodload_voxels
( &mut self, terrain_allocator : &std::sync::Mutex<id_allocator::T<view::entity::id::Terrain>>, gr
client/lib/src/terrain.rs:308
↓ 1 callersMethodlookup_opengl_index
Lookup the OpenGL index for an entity.
client/lib/src/view/terrain_buffers.rs:106
↓ 1 callersFunctionmake_hud
Add HUD data into `view`.
client/lib/src/hud.rs:11
↓ 1 callersFunctionmouse_move
x and y are relative to last position.
client/lib/src/process_event.rs:188
↓ 1 callersFunctionmouse_press
( player_id: entity::id::Player, update_server: &mut UpdateServer, mouse_btn: MouseButton, )
client/lib/src/process_event.rs:135
↓ 1 callersFunctionnew
(seed: Seed)
server/lib/terrain/biome/caves.rs:14
↓ 1 callersFunctionnew
(seed: Seed)
server/lib/terrain/biome/hills.rs:16
↓ 1 callersFunctionnew
(seed: Seed)
server/lib/terrain/biome/demo.rs:17
↓ 1 callersFunctionnew
(seed: Seed)
server/lib/terrain/biome/mountains.rs:16
↓ 1 callersFunctionnew
( max_load_distance: u32, lod_thresholds: Vec<i32>, )
common/surroundings_loader.rs:41
↓ 1 callersMethodon_mut_ancestor
(&mut self, bounds: &Aabb3<f32>, mut f: F)
server/lib/src/octree.rs:213
↓ 1 callersMethodoutput_to
print all the stats into a file
client/lib/src/chunk_stats.rs:32
↓ 1 callersMethodpolygon_count
Number of polygons pushed. Note that this may not divide cleanly into a number of chunks.
client/lib/src/view/chunked_terrain.rs:72
↓ 1 callersFunctionprocess_event
( update_server: &mut UpdateServer, view: &mut view::T, client: &client::T, event: Event, )
client/lib/src/process_event.rs:17
↓ 1 callersFunctionprocess_server_updates
( client : &client::T, recv_server : &mut RecvServer, update_view : &mut
client/lib/src/update_thread.rs:209
↓ 1 callersFunctionprocess_voxel_updates
( client : &client::T, chunk_stats : &mut chunk_stats::T, update_view : &mut UpdateView, )
client/lib/src/update_thread.rs:189
↓ 1 callersFunctionpush_chunk_load
(x: ChunkLoad)
client/lib/src/record_book.rs:38
↓ 1 callersMethodread
Block until a message can be fetched from this socket.
common/socket.rs:76
↓ 1 callersMethodrefresh_buffer
fill the buffer with the next sample of all the tracks, mixed together
client/lib/src/audio.rs:74
↓ 1 callersMethodreinsert
(&mut self, v: V, bounds: &Aabb3<f32>, new_bounds: &Aabb3<f32>)
server/lib/src/octree.rs:297
↓ 1 callersMethodremove
(&mut self, bounds: &Aabb3<f32>, v: V)
server/lib/src/octree.rs:263
↓ 1 callersMethodremove_misc
(&mut self, id: entity::id::Misc)
server/lib/src/physics.rs:50
↓ 1 callersFunctionrender
( rndr: &mut view::T, )
client/lib/src/view/render.rs:86
↓ 1 callersMethodright
Return the "right" axis (i.e. the x-axis rotated to match you).
server/lib/src/player.rs:271
↓ 1 callersMethodrotate_vertical
Changes the player's pitch by `r` radians. Positive is up. Angles that "flip around" (i.e. looking too far up or down) are sliently rejected.
server/lib/src/player.rs:257
↓ 1 callersFunctionrun
(listen_url: &str, server_url: &str)
client/dummy/mod.rs:24
↓ 1 callersFunctionsave_terrain
(terrain: &terrain::T, path: &std::path::Path)
server/lib/src/run.rs:200
↓ 1 callersFunctionsurroundings_iter
(center: Point3<i32>, max_distance: i32)
common/surroundings_loader.rs:12
↓ 1 callersMethodtick
Iterate through some enqueued voxel loads and load any updated chunks.
client/lib/src/terrain.rs:91
↓ 1 callersMethodto_asset_path
(&self)
client/lib/src/audio_loader.rs:18
↓ 1 callersMethodtranslate_to
(&mut self, p: Point3<f32>)
client/lib/src/view/camera.rs:53
↓ 1 callersFunctiontree_ram_usage_inner
(branches: &common::voxel::tree::Branches, size: &mut usize)
server/lib/src/run.rs:210
↓ 1 callersMethodtry_read
Try to read a message from this socket.
common/socket.rs:86
↓ 1 callersMethodunload
unload a chunk
client/lib/src/terrain.rs:366
↓ 1 callersMethodupdate_polygon_index
Update the index of the underlying polygon that a grass tuft is associated with.
client/lib/src/view/grass_buffers.rs:230
↓ 1 callersFunctionupdate_surroundings
( client : &client::T, chunk_stats : &mut chunk_stats::T, update_view : &mut UpdateView, up
client/lib/src/update_thread.rs:68
↓ 1 callersFunctionupdate_world
( server: &server::T, request_block: &mut RequestBlock, )
server/lib/src/update_world.rs:17
↓ 1 callersFunctionupdated_chunk_positions
( voxel: &voxel::bounds::T, )
client/lib/src/terrain.rs:383
↓ 1 callersFunctionview_thread
( client: &client::T, recv0: &mut Recv0, recv1: &mut Recv1, update_server: &mut UpdateServer, )
client/lib/src/view/thread.rs:37
↓ 1 callersFunctionwait_for_quit
()
server/bin/mod.rs:44
↓ 1 callersMethodwalk
Changes the player's acceleration by the given `da`.
server/lib/src/player.rs:245
↓ 1 callersMethodwith_buffer
invoke a callback with the most recent audio sample
client/lib/src/audio.rs:105
Methodadd
(mut self, rhs: Vector3<i32>)
client/lib/src/chunk.rs:89
Methodadd
(self, rhs: u32)
server/lib/src/lod.rs:219
Methodadd
(self, rhs: u32)
common/protocol.rs:24
Methodadd
(self, rhs: u32)
common/entity.rs:45
Functionassert_is_send
()
server/lib/src/octree.rs:98
Functionbasic_test
()
common/range_abs.rs:46
Methodbisect
Split a leaf into two subtrees.
server/lib/src/octree.rs:161
Functioncheck_vertex_size
()
client/lib/src/vertex.rs:19
Functionconsider_gaia_update
( server: &'a server::T, mut get_update: Get, )
server/lib/src/run.rs:158
← previousnext →101–200 of 312, ranked by callers