Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bfops/playform
/ functions
Functions
312 in github.com/bfops/playform
⨍
Functions
312
◇
Types & classes
106
↓ 2 callers
Function
set
(d: Dimension, p: &mut Point3<f32>, v: f32)
server/lib/src/octree.rs:44
↓ 2 callers
Function
set_ambient_light
Sets the `ambient_light` uniform in some shader.
client/lib/src/view/light.rs:69
↓ 2 callers
Function
to_triangles
( bounds: &Aabb3<f32>, c: &Color4<f32>, )
client/lib/src/server_update.rs:113
↓ 2 callers
Method
translate_misc
(&mut self, id: entity::id::Misc, amount: Vector3<f32>)
server/lib/src/physics.rs:63
↓ 2 callers
Method
try
(&self)
client/lib/src/server.rs:47
↓ 2 callers
Function
unit
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 callers
Method
unload
( &self, physics : &Mutex<physics::T>, position : &voxel::bounds::T, owner : lod::OwnerId,
server/lib/src/terrain_loader.rs:152
↓ 2 callers
Method
until_quit
Keep running this closure series until a quit signal is received.
common/closure_series.rs:34
↓ 2 callers
Function
update_thread
( quit : &Mutex<bool>, client : &client::T, recv_server : &mut Re
client/lib/src/update_thread.rs:23
↓ 2 callers
Function
voxels_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 callers
Method
write
Block until we can send this socket a message.
common/socket.rs:33
↓ 1 callers
Function
aabb_overlap
(aabb1: &Aabb3<f32>, aabb2: &Aabb3<f32>)
server/lib/src/octree.rs:8
↓ 1 callers
Method
add
record a chunk
client/lib/src/chunk_stats.rs:22
↓ 1 callers
Function
add_mob
( server: &server::T, low_corner: Point3<f32>, behavior: mob::Behavior, )
server/lib/src/init_mobs.rs:99
↓ 1 callers
Function
all
Iterate through all the indices in a buffer
common/index.rs:42
↓ 1 callers
Method
ambient_intensity
The intensity of ambient lighting from the sun.
client/lib/src/view/light.rs:43
↓ 1 callers
Function
apply_client_update
( server: &server::T, update_gaia: &mut UpdateGaia, update: protocol::ClientToServer, )
server/lib/src/client_recv_thread.rs:50
↓ 1 callers
Function
apply_server_update
dispatch a server message among the subsystems
client/lib/src/server_update.rs:25
↓ 1 callers
Function
audio_thread
( _quit: &Mutex<bool>, _recv_message: &mut RecvMessage, )
client/lib/src/audio_thread.rs:20
↓ 1 callers
Method
bind_materials
( &self, gl: &mut GLContext, texture_unit_alloc: &mut id_allocator::T<TextureUnit>, shader: &m
client/lib/src/view/terrain_buffers.rs:154
↓ 1 callers
Method
brush
Apply a voxel brush to the terrain.
server/lib/terrain/mod.rs:66
↓ 1 callers
Function
center
(bounds: &Aabb3<f32>)
server/lib/src/client_recv_thread.rs:24
↓ 1 callers
Method
close
Terminate this connection.
common/socket.rs:38
↓ 1 callers
Function
connect_client
(listen_url: &str, server: &server::T)
client/dummy/mod.rs:89
↓ 1 callers
Function
connect_client
(listen_url: &str, server: &server::T)
client/lib/src/run.rs:138
↓ 1 callers
Function
containing_voxel
(bounds: &voxel::bounds::T)
client/lib/src/chunk.rs:24
↓ 1 callers
Method
direction
A vector pointing toward the sun.
client/lib/src/view/light.rs:27
↓ 1 callers
Method
downcast
Cast to an index of more granular elements.
common/index.rs:58
↓ 1 callers
Function
draw_backdrop
( rndr: &mut view::T, )
client/lib/src/view/render.rs:29
↓ 1 callers
Function
draw_grass_billboards
( rndr: &mut view::T, )
client/lib/src/view/render.rs:61
↓ 1 callers
Function
empty
()
client/lib/src/view/chunked_terrain.rs:130
↓ 1 callers
Method
enqueue
enqueue an unordered series of individual voxel loads
client/lib/src/terrain.rs:69
↓ 1 callers
Function
ensure_init
()
client/lib/src/view/ttf.rs:80
↓ 1 callers
Method
force_load_chunk
( &mut self, terrain_allocator : &std::sync::Mutex<id_allocator::T<view::entity::id::Terrain>>, gr
client/lib/src/terrain.rs:127
↓ 1 callers
Method
forward
Return the "Ray axis (i.e. the z-axis rotated to match you).
server/lib/src/player.rs:277
↓ 1 callers
Method
forward_ray
(&self)
server/lib/src/player.rs:287
↓ 1 callers
Function
generate
( voxels : &voxel::tree::T, chunk_stats : &mut chunk_stats::T, chunk_position : &chunk::po
client/lib/src/terrain_mesh.rs:118
↓ 1 callers
Function
init_mobs
( server: &server::T, )
server/lib/src/init_mobs.rs:17
↓ 1 callers
Method
insert_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 callers
Method
insert_terrain
(&mut self, id: entity::id::Terrain, bounds: &Aabb3<f32>)
server/lib/src/physics.rs:31
↓ 1 callers
Function
inside_sphere
( rng: &mut Rng, radius: f32, )
server/lib/terrain/tree.rs:41
↓ 1 callers
Method
is_empty
(&self)
client/lib/src/terrain_mesh.rs:248
↓ 1 callers
Function
key_press
( update_server: &mut UpdateServer, view: &mut view::T, client: &client::T, key: Keycode, )
client/lib/src/process_event.rs:49
↓ 1 callers
Function
key_release
( player_id: entity::id::Player, update_server: &mut UpdateServer, key: Keycode, )
client/lib/src/process_event.rs:158
↓ 1 callers
Function
load_distance
(mut polygon_budget: i32)
client/lib/src/client.rs:48
↓ 1 callers
Function
load_from_file
(path: &str)
client/lib/src/audio_loader.rs:47
↓ 1 callers
Function
load_grass_texture
( gl: &'a mut GLContext, )
client/lib/src/view/mod.rs:85
↓ 1 callers
Function
load_terrain
(terrain: &terrain::T, path: &std::path::Path)
server/lib/src/run.rs:175
↓ 1 callers
Method
load_voxel
( &mut self, player_position : &cgmath::Point3<f32>, voxel : voxel::T, bounds
client/lib/src/terrain.rs:225
↓ 1 callers
Method
load_voxels
( &mut self, terrain_allocator : &std::sync::Mutex<id_allocator::T<view::entity::id::Terrain>>, gr
client/lib/src/terrain.rs:308
↓ 1 callers
Method
lookup_opengl_index
Lookup the OpenGL index for an entity.
client/lib/src/view/terrain_buffers.rs:106
↓ 1 callers
Function
make_hud
Add HUD data into `view`.
client/lib/src/hud.rs:11
↓ 1 callers
Function
mouse_move
x and y are relative to last position.
client/lib/src/process_event.rs:188
↓ 1 callers
Function
mouse_press
( player_id: entity::id::Player, update_server: &mut UpdateServer, mouse_btn: MouseButton, )
client/lib/src/process_event.rs:135
↓ 1 callers
Function
new
(seed: Seed)
server/lib/terrain/biome/caves.rs:14
↓ 1 callers
Function
new
(seed: Seed)
server/lib/terrain/biome/hills.rs:16
↓ 1 callers
Function
new
(seed: Seed)
server/lib/terrain/biome/demo.rs:17
↓ 1 callers
Function
new
(seed: Seed)
server/lib/terrain/biome/mountains.rs:16
↓ 1 callers
Function
new
( max_load_distance: u32, lod_thresholds: Vec<i32>, )
common/surroundings_loader.rs:41
↓ 1 callers
Method
on_mut_ancestor
(&mut self, bounds: &Aabb3<f32>, mut f: F)
server/lib/src/octree.rs:213
↓ 1 callers
Method
output_to
print all the stats into a file
client/lib/src/chunk_stats.rs:32
↓ 1 callers
Method
polygon_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 callers
Function
process_event
( update_server: &mut UpdateServer, view: &mut view::T, client: &client::T, event: Event, )
client/lib/src/process_event.rs:17
↓ 1 callers
Function
process_server_updates
( client : &client::T, recv_server : &mut RecvServer, update_view : &mut
client/lib/src/update_thread.rs:209
↓ 1 callers
Function
process_voxel_updates
( client : &client::T, chunk_stats : &mut chunk_stats::T, update_view : &mut UpdateView, )
client/lib/src/update_thread.rs:189
↓ 1 callers
Function
push_chunk_load
(x: ChunkLoad)
client/lib/src/record_book.rs:38
↓ 1 callers
Method
read
Block until a message can be fetched from this socket.
common/socket.rs:76
↓ 1 callers
Method
refresh_buffer
fill the buffer with the next sample of all the tracks, mixed together
client/lib/src/audio.rs:74
↓ 1 callers
Method
reinsert
(&mut self, v: V, bounds: &Aabb3<f32>, new_bounds: &Aabb3<f32>)
server/lib/src/octree.rs:297
↓ 1 callers
Method
remove
(&mut self, bounds: &Aabb3<f32>, v: V)
server/lib/src/octree.rs:263
↓ 1 callers
Method
remove_misc
(&mut self, id: entity::id::Misc)
server/lib/src/physics.rs:50
↓ 1 callers
Function
render
( rndr: &mut view::T, )
client/lib/src/view/render.rs:86
↓ 1 callers
Method
right
Return the "right" axis (i.e. the x-axis rotated to match you).
server/lib/src/player.rs:271
↓ 1 callers
Method
rotate_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 callers
Function
run
(listen_url: &str, server_url: &str)
client/dummy/mod.rs:24
↓ 1 callers
Function
save_terrain
(terrain: &terrain::T, path: &std::path::Path)
server/lib/src/run.rs:200
↓ 1 callers
Function
surroundings_iter
(center: Point3<i32>, max_distance: i32)
common/surroundings_loader.rs:12
↓ 1 callers
Method
tick
Iterate through some enqueued voxel loads and load any updated chunks.
client/lib/src/terrain.rs:91
↓ 1 callers
Method
to_asset_path
(&self)
client/lib/src/audio_loader.rs:18
↓ 1 callers
Method
translate_to
(&mut self, p: Point3<f32>)
client/lib/src/view/camera.rs:53
↓ 1 callers
Function
tree_ram_usage_inner
(branches: &common::voxel::tree::Branches, size: &mut usize)
server/lib/src/run.rs:210
↓ 1 callers
Method
try_read
Try to read a message from this socket.
common/socket.rs:86
↓ 1 callers
Method
unload
unload a chunk
client/lib/src/terrain.rs:366
↓ 1 callers
Method
update_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 callers
Function
update_surroundings
( client : &client::T, chunk_stats : &mut chunk_stats::T, update_view : &mut UpdateView, up
client/lib/src/update_thread.rs:68
↓ 1 callers
Function
update_world
( server: &server::T, request_block: &mut RequestBlock, )
server/lib/src/update_world.rs:17
↓ 1 callers
Function
updated_chunk_positions
( voxel: &voxel::bounds::T, )
client/lib/src/terrain.rs:383
↓ 1 callers
Function
view_thread
( client: &client::T, recv0: &mut Recv0, recv1: &mut Recv1, update_server: &mut UpdateServer, )
client/lib/src/view/thread.rs:37
↓ 1 callers
Function
wait_for_quit
()
server/bin/mod.rs:44
↓ 1 callers
Method
walk
Changes the player's acceleration by the given `da`.
server/lib/src/player.rs:245
↓ 1 callers
Method
with_buffer
invoke a callback with the most recent audio sample
client/lib/src/audio.rs:105
Method
add
(mut self, rhs: Vector3<i32>)
client/lib/src/chunk.rs:89
Method
add
(self, rhs: u32)
server/lib/src/lod.rs:219
Method
add
(self, rhs: u32)
common/protocol.rs:24
Method
add
(self, rhs: u32)
common/entity.rs:45
Function
assert_is_send
()
server/lib/src/octree.rs:98
Function
basic_test
()
common/range_abs.rs:46
Method
bisect
Split a leaf into two subtrees.
server/lib/src/octree.rs:161
Function
check_vertex_size
()
client/lib/src/vertex.rs:19
Function
consider_gaia_update
( server: &'a server::T, mut get_update: Get, )
server/lib/src/run.rs:158
← previous
next →
101–200 of 312, ranked by callers