Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anima-libera/qwy3
/ functions
Functions
427 in github.com/anima-libera/qwy3
⨍
Functions
427
◇
Types & classes
216
↓ 110 callers
Method
sample_3d_1d
( &self, coords: cgmath::Point3<f32>, additional_channels: &[i32], )
src/noise.rs:150
↓ 64 callers
Method
get
(&self)
src/chunks.rs:577
↓ 50 callers
Method
ground_id
(&self)
src/block_types.rs:65
↓ 49 callers
Method
bind_group_entry
(&self, binding: u32)
src/rendering_init.rs:65
↓ 49 callers
Method
layout_entry
( &self, binding: u32, visibility: wgpu::ShaderStages, )
src/rendering_init.rs:20
↓ 48 callers
Method
index
(self)
src/coords.rs:317
↓ 47 callers
Method
air_id
(&self)
src/block_types.rs:61
↓ 44 callers
Method
set_id
(&mut self, coords: BlockCoords, block_id: BlockTypeId)
src/chunk_blocks.rs:399
↓ 41 callers
Method
coords_span
(&self)
src/chunk_blocks.rs:390
↓ 40 callers
Method
iter
(self)
src/coords.rs:192
↓ 39 callers
Method
iter_coords
(self)
src/coords.rs:59
↓ 38 callers
Method
finish_generation
(mut self)
src/chunk_blocks.rs:403
↓ 38 callers
Method
kinda_grass_id
(&self)
src/block_types.rs:69
↓ 30 callers
Function
distance_to_segment
Distance from the given `point` to the segment between the two point `a` and `b`.
src/world_gen/mod.rs:668
↓ 29 callers
Method
sample
(&self, xs: &[f32], additional_channels: &[&[i32]])
src/noise.rs:134
↓ 24 callers
Method
is_air
(&self)
src/block_types.rs:15
↓ 21 callers
Method
to_vec3
Turn it into a good old vec3, normalized.
src/coords.rs:536
↓ 19 callers
Method
sample_2d_1d
( &self, coords: cgmath::Point2<f32>, additional_channels: &[i32], )
src/noise.rs:142
↓ 18 callers
Method
aligned_box
(&self)
src/physics.rs:33
↓ 18 callers
Method
delta
(self)
src/coords.rs:425
↓ 18 callers
Method
get_pixel
(&self, coords: cgmath::Point2<i32>)
src/texture_gen.rs:23
↓ 17 callers
Method
block_coords_inf
(self)
src/coords.rs:51
↓ 17 callers
Method
set
(&mut self, coords: BlockCoords, value: bool)
src/chunk_meshing.rs:539
↓ 14 callers
Method
sample_i1d_1d
(&self, coord: i32, additional_channels: &[i32])
src/noise.rs:169
↓ 14 callers
Method
sample_i2d_1d
( &self, coords: cgmath::Point2<i32>, additional_channels: &[i32], )
src/noise.rs:175
↓ 14 callers
Method
sample_i3d_1d
( &self, coords: cgmath::Point3<i32>, additional_channels: &[i32], )
src/noise.rs:183
↓ 13 callers
Method
block_coords_sup_excluded
(self)
src/coords.rs:55
↓ 13 callers
Method
get
(&self, coords: BlockCoords)
src/chunk_meshing.rs:544
↓ 12 callers
Method
contains
(self, coords: BlockCoords)
src/coords.rs:63
↓ 12 callers
Function
iter_3d_rect_inf_sup_excluded
( inf: cgmath::Point3<i32>, sup_excluded: cgmath::Point3<i32>, )
src/coords.rs:226
↓ 11 callers
Method
aligned_box
(&self)
src/entities.rs:165
↓ 10 callers
Function
iter_3d_cube_center_radius
( center: cgmath::Point3<i32>, radius: i32, )
src/coords.rs:272
↓ 10 callers
Function
run
( qwy_script_code: &str, context: &mut Context, log: &mut Log, )
src/lang.rs:730
↓ 9 callers
Method
dimensions
(self)
src/coords.rs:37
↓ 9 callers
Method
is_loaded
(&self, chunk_coords: ChunkCoords)
src/chunks.rs:66
↓ 9 callers
Method
new_rand_state
(&mut self)
src/world_gen/mod.rs:3715
↓ 9 callers
Method
perform_now_or_later
Given an operation that requires write access to the `ChunkGrid`, we either perform it now (if we have write access), or else record it (and it will b
src/chunks.rs:709
↓ 9 callers
Method
sign
(self)
src/coords.rs:367
↓ 9 callers
Method
world_coords_to_containing_chunk_coords
(self, coords: BlockCoords)
src/coords.rs:297
↓ 8 callers
Function
render_pipeline_and_bind_group
( device: &wgpu::Device, binding_thingies: BindingThingies, output_format: wgpu::TextureFormat, z_buffer_f
src/shaders/block.rs:39
↓ 7 callers
Method
existence_ratio
Returns a value between 0.0 and 1.0 that represents how much the widget "exists". For example, a widget that is a wrapper with an apparition animation
src/widgets.rs:322
↓ 7 callers
Method
get_block
(&self, coords: BlockCoords)
src/chunks.rs:202
↓ 7 callers
Method
place_ball
( &mut self, block_placing: &BlockPlacing, center: cgmath::Point3<f32>, radius: f32, )
src/world_gen/structure_engine.rs:189
↓ 7 callers
Method
write
(&self, data: &[u8])
src/saves.rs:129
↓ 6 callers
Method
add_margins
(&mut self, margin_to_add: i32)
src/coords.rs:173
↓ 6 callers
Method
cd
(&self)
src/chunks.rs:62
↓ 6 callers
Method
dimensions
Returns the dimensions of the widget, already corrected to wgsl coords space.
src/widgets.rs:348
↓ 6 callers
Method
is_opaque
(&self)
src/block_types.rs:11
↓ 6 callers
Method
number_of_blocks_in_a_chunk
(self)
src/coords.rs:33
↓ 6 callers
Method
pos
(&self)
src/entities.rs:153
↓ 5 callers
Method
enqueue_task
(&self, task: Task)
src/threadpool.rs:155
↓ 5 callers
Method
find_label_content
Returns the content of the first found label widget that matches with the given label.
src/widgets.rs:308
↓ 5 callers
Method
generated_test_id
(&self, index: usize)
src/block_types.rs:89
↓ 5 callers
Method
get_origins_in_span
(&self, span: CubicCoordsSpan)
src/world_gen/structure_engine.rs:54
↓ 5 callers
Method
get_type
(&self)
src/lang.rs:37
↓ 5 callers
Method
kinda_grass_blades_id
(&self)
src/block_types.rs:73
↓ 5 callers
Method
kinda_leaf_id
(&self)
src/block_types.rs:81
↓ 5 callers
Method
read
(&self, delete_file_after_read: bool)
src/saves.rs:135
↓ 5 callers
Method
simple_texture_vertices_from_text
( &self, window_width: f32, mut coords: cgmath::Point3<f32>, settings: TextRenderingSettings, text:
src/font.rs:262
↓ 4 callers
Method
add_entity
(&mut self, entity: Entity, save: Option<&Arc<Save>>)
src/chunks.rs:404
↓ 4 callers
Method
add_simple_texture_vertices
(&mut self, mut vertices: Vec<SimpleTextureVertexPod>)
src/widgets.rs:711
↓ 4 callers
Method
chunk_file_path
( &self, chunk_coords: ChunkCoords, which_file: WhichChunkFile, )
src/saves.rs:79
↓ 4 callers
Function
color_dist
(a: Color, b: Color)
src/texture_gen.rs:232
↓ 4 callers
Method
count_entities
(&self)
src/entities.rs:524
↓ 4 callers
Method
delete
If the handler refered to an allocated instance, then the instance is released from its existence.
src/entity_parts.rs:112
↓ 4 callers
Method
dimensions_of_text
Returns (width, height) in screen pixels of the smallest rect that would contain the rendering of the given text.
src/font.rs:221
↓ 4 callers
Method
get_file_io
(&self, path: PathBuf)
src/saves.rs:105
↓ 4 callers
Method
is_exclusively_owned
(&self)
src/chunks.rs:596
↓ 4 callers
Method
kinda_wood_id
(&self)
src/block_types.rs:77
↓ 4 callers
Method
log_widget
(&mut self, widget_to_log: Widget)
src/interface.rs:75
↓ 4 callers
Method
on_ground_and_not_overlapping
(&self)
src/physics.rs:36
↓ 4 callers
Method
overlapping_block_coords_span
(&self)
src/coords.rs:657
↓ 4 callers
Method
partial_cmp
(&self, other: &Self)
src/table_allocator.rs:32
↓ 4 callers
Method
place_block
(&mut self, block_placing: &BlockPlacing, coords: BlockCoords)
src/world_gen/structure_engine.rs:176
↓ 4 callers
Method
save
(&self, save: &Arc<Save>)
src/atlas.rs:200
↓ 4 callers
Method
the_other_two_axes
(self)
src/coords.rs:333
↓ 3 callers
Function
color_weighted_mean
(weighted_colors: &[WeightedValue<Color>])
src/texture_gen.rs:261
↓ 3 callers
Method
coords_to_index_in_data
(&self, coords: BlockCoords)
src/chunk_meshing.rs:531
↓ 3 callers
Method
ensure_is_allocated
( &mut self, part_table: &mut PartTable<T>, initialize: impl FnOnce() -> T::Instance, )
src/entity_parts.rs:80
↓ 3 callers
Method
exterior_coords
(&self)
src/coords.rs:475
↓ 3 callers
Method
get_data_for_rendering
(&self)
src/entity_parts.rs:271
↓ 3 callers
Function
interpolate
( smoothing: &dyn Fn(f32) -> f32, x: f32, x_inf: f32, x_sup: f32, dst_inf: f32, dst_sup: f32, )
src/noise.rs:53
↓ 3 callers
Method
into_pod
Converts into the form that can be stored in a `PartTable`.
src/entity_parts.rs:561
↓ 3 callers
Method
length
(self)
src/table_allocator.rs:46
↓ 3 callers
Method
merge_to
(&mut self, mut other: ChunkEntities)
src/entities.rs:505
↓ 3 callers
Method
modify_instance
( &mut self, part_table: &mut PartTable<T>, callback: impl FnOnce(&mut T::Instance), )
src/entity_parts.rs:95
↓ 3 callers
Method
overlaps
(&self, other: &CubicCoordsSpan)
src/coords.rs:178
↓ 3 callers
Function
parse
( qwy_script_code: &str, type_context: &TypeContext, )
src/lang.rs:722
↓ 3 callers
Method
perform_now_or_dont
(&mut self, f: impl FnOnce(&mut ChunkGrid))
src/chunks.rs:725
↓ 3 callers
Function
point3_lerp
Returns `inf` when `value` is 0.0 and `sup` when `value` is 1.0.
src/skybox.rs:209
↓ 3 callers
Method
sample_i1d_i1d
(&self, coord: i32, additional_channels: &[i32])
src/noise.rs:172
↓ 3 callers
Method
set_model_matrix
(&mut self, model_matrix: &cgmath::Matrix4<f32>)
src/entity_parts.rs:473
↓ 3 callers
Method
to_horizontal
(mut self)
src/coords.rs:530
↓ 2 callers
Method
add_chunk_entities
To insert or re-insert a `ChunkEntities` in the map, using this method ensures that if the chunk already had a `ChunkEntities` then it is merged with
src/chunks.rs:371
↓ 2 callers
Method
add_simple_line_vertices
(&mut self, mut vertices: Vec<SimpleLineVertexPod>)
src/widgets.rs:715
↓ 2 callers
Method
add_to_horizontal_angle
( mut self, angle_horizontal_to_add: f32, )
src/coords.rs:517
↓ 2 callers
Method
allocate_one
Let the allocator pick a free index that becomes allocated. It may return `NeedsBiggerBuffer` in case it runs out of space, and if such lengthening ha
src/table_allocator.rs:82
↓ 2 callers
Method
apply_actions_on_world
( &mut self, action_on_world: ActionOnWorld, save: Option<&Arc<Save>>, id_generator: &IdGenerator, )
src/chunks.rs:304
↓ 2 callers
Method
apply_initializer
(&mut self, initializer: &Initializer, world_seed: i32, texture_seed: i32)
src/texture_gen.rs:33
↓ 2 callers
Method
apply_texture_generator
( &mut self, generator: &TextureGenerator, world_seed: i32, texture_seed: i32, )
src/texture_gen.rs:57
next →
1–100 of 427, ranked by callers