MCPcopy Create free account

hub / github.com/Gnurfos/transvoxel_rs / functions

Functions225 in github.com/Gnurfos/transvoxel_rs

↓ 1 callersMethodnew_reusable
(&self)
src/implementation/tables_wrapper.rs:61
↓ 1 callersMethodnew_vertex
(&self)
src/implementation/tables_wrapper.rs:21
↓ 1 callersMethodnum_tris
Shorthand to get the triangles count
src/structs/generic_mesh.rs:74
↓ 1 callersMethodon_regular_grid
Whether the voxel coincides with a voxel on the "regular" grid
src/implementation/voxel_coordinates.rs:144
↓ 1 callersMethodput_regular
( &mut self, index: VertexIndex, cell_x: usize, cell_y: usize, cell_z:
src/implementation/algorithm.rs:482
↓ 1 callersMethodput_transition
( &mut self, index: VertexIndex, cell: &TransitionCellIndex, reuse_index: Tran
src/implementation/algorithm.rs:507
↓ 1 callersMethodregular_cell_case
(&mut self, cell_index: &RegularCellIndex)
src/implementation/algorithm.rs:150
↓ 1 callersMethodregular_grid_point_position
(&self, voxel_index: &RegularVoxelIndex)
src/implementation/algorithm.rs:305
↓ 1 callersMethodregular_vertex
Either creates or reuses an existing vertex. Returns its index in the vertices buffer
src/implementation/algorithm.rs:189
↓ 1 callersMethodreuse
(&self)
src/implementation/tables_wrapper.rs:45
↓ 1 callersMethodsample
(&self, _x: f32, _y: f32, _z: f32)
src/unit_tests/density_calls_tests.rs:90
↓ 1 callersMethodset_model
(&mut self, model: Model)
examples/transition_across_blocks/main.rs:347
↓ 1 callersMethodset_model
(&mut self, model: Model)
examples/single_block/main.rs:322
↓ 1 callersFunctionshrink_if_needed
( x: &mut C, y: &mut C, z: &mut C, xi: isize, yi: isize, zi: isize, subdivisions:
src/structs/block.rs:94
↓ 1 callersFunctionspawn_background
( commands: &mut Commands, meshes: &mut ResMut<Assets<Mesh>>, materials: &mut ResMut<Assets<Standa
examples/transition_across_blocks/main.rs:72
↓ 1 callersFunctionspawn_background
( commands: &mut Commands, meshes: &mut ResMut<Assets<BevyMesh>>, materials: &mut ResMut<Assets<St
examples/single_block/main.rs:67
↓ 1 callersFunctionspawn_camera
(commands: &mut Commands)
examples/transition_across_blocks/main.rs:115
↓ 1 callersFunctionspawn_camera
(commands: &mut Commands)
examples/non_scalar_voxel_data/main.rs:50
↓ 1 callersFunctionspawn_camera
(commands: &mut Commands)
examples/single_block/main.rs:124
↓ 1 callersFunctionspawn_light
(commands: &mut Commands)
examples/transition_across_blocks/main.rs:103
↓ 1 callersFunctionspawn_light
(_commands: &mut Commands, mut ambient_light: ResMut<AmbientLight>)
examples/non_scalar_voxel_data/main.rs:45
↓ 1 callersFunctionspawn_light
(commands: &mut Commands)
examples/single_block/main.rs:113
↓ 1 callersFunctionsphere_density
(x: f32, y: f32, z: f32)
examples/basic_command_line/main.rs:15
↓ 1 callersMethodstorage_index
(&self, index: VoxelIndex)
src/structs/voxel_blocks.rs:85
↓ 1 callersFunctionstrafe_vector
(rotation: &Quat)
examples/shared/flycam.rs:50
↓ 1 callersFunctiontransform_from_x
(a: &OutputPosition<f32>, b: &OutputPosition<f32>)
examples/shared/utils.rs:222
↓ 1 callersMethodtransition_cell_case
(&mut self, cell_index: &TransitionCellIndex)
src/implementation/algorithm.rs:165
↓ 1 callersMethodtransition_grid_point_on_high_res_face
( &mut self, cell_index: &TransitionCellIndex, delta: HighResolutionVoxelDelta, )
src/implementation/algorithm.rs:365
↓ 1 callersMethodtransition_grid_point_on_low_res_face
( &mut self, cell_index: &TransitionCellIndex, face_u: usize, face_v: usize,
src/implementation/algorithm.rs:353
↓ 1 callersMethodtransition_vertex
( &mut self, cell_index: &TransitionCellIndex, vd: TransitionVertexData, )
src/implementation/algorithm.rs:220
↓ 1 callersFunctiontri_matcher
( x1: f32, y1: f32, z1: f32, x2: f32, y2: f32, z2: f32, x3: f32, y3: f32,
src/unit_tests/test_utils.rs:118
Method_new_interior
(&self)
src/implementation/tables_wrapper.rs:57
Methodadd
(self, rhs: &RegularVoxelDelta)
src/implementation/voxel_coordinates.rs:64
Functionadd_initial_model
(mut channel: MessageWriter<AppEvent>)
examples/transition_across_blocks/main.rs:134
Functionadd_initial_model
(mut channel: MessageWriter<AppEvent>)
examples/single_block/main.rs:142
Methodadd_triangle
( &mut self, vertex_1_index: VertexIndex, vertex_2_index: VertexIndex, vertex_
examples/non_scalar_voxel_data/main.rs:162
Methodadd_triangle
( &mut self, vertex_1_index: VertexIndex, vertex_2_index: VertexIndex, vertex_
examples/shared/bevy_mesh.rs:86
Methodadd_vertex_between
( &mut self, point_a: GridPoint<f32, f32>, point_b: GridPoint<f32, f32>, inter
src/structs/generic_mesh.rs:166
Methodadd_vertex_between
( &mut self, point_a: GridPoint<CustomVoxelData, f32>, point_b: GridPoint<CustomVoxelD
examples/non_scalar_voxel_data/main.rs:125
Methodadd_vertex_between
( &mut self, point_a: GridPoint<V, f32>, point_b: GridPoint<V, f32>, interpola
examples/shared/bevy_mesh.rs:63
Methodall
All 6 sides
src/structs/transition_sides.rs:53
Functionambiguous_case
()
src/unit_tests/tests.rs:92
Functionanother_one_cube_corner
()
src/unit_tests/tests.rs:40
Functionapp_events_handler
( mut events: MessageReader<AppEvent>, mut commands: Commands, mut meshes: ResMut<Asse
examples/transition_across_blocks/main.rs:371
Functionapp_events_handler
( mut events: MessageReader<AppEvent>, mut commands: Commands, mut meshes: ResMut<Assets<BevyMesh>
examples/single_block/main.rs:346
Functionbasic_normals
()
src/unit_tests/tests.rs:66
Methodblock
(&self)
src/unit_tests/test_utils.rs:391
Methodblock
(&self)
src/structs/voxel_blocks.rs:22
Methodbuild
(&self, app: &mut App)
examples/shared/flycam.rs:153
Methodcache
Evaluate the field and store its value at every point that might be queried
src/structs/voxel_blocks.rs:49
Methodcache_one
( field: &F, block: &Block<C>, x: isize, y: isize, z: isize, d
src/structs/voxel_blocks.rs:32
Methodcalls
(&self)
src/unit_tests/density_calls_tests.rs:93
Functioncamera_movement_system
( time: Res<Time>, keyboard_input: Res<ButtonInput<KeyCode>>, mut query: Query<(&mut FlyCamera, &m
examples/shared/flycam.rs:56
Functionclicks_handler
(mut events: MessageReader<MouseButtonInput>, mut cam_query: Query<&mut FlyCamera>)
examples/transition_across_blocks/main.rs:396
Functionclicks_handler
(mut events: MessageReader<MouseButtonInput>, mut cam_query: Query<&mut FlyCamera>)
examples/non_scalar_voxel_data/main.rs:299
Functionclicks_handler
(mut events: MessageReader<MouseButtonInput>, mut cam_query: Query<&mut FlyCamera>)
examples/single_block/main.rs:370
Functioncount_density_calls_random
()
src/unit_tests/density_calls_tests.rs:22
Methoddefault
()
src/implementation/rotation.rs:136
Methoddefault
()
examples/transition_across_blocks/main.rs:335
Methoddefault
()
examples/shared/flycam.rs:21
Methoddefault
()
examples/single_block/main.rs:310
Methoddensity
(&self)
examples/non_scalar_voxel_data/main.rs:97
Functionempty_extraction
()
src/unit_tests/tests.rs:20
Methodextract
(mut self)
src/implementation/algorithm.rs:54
Functionfield
(x: f32, y: f32, z: f32)
examples/non_scalar_voxel_data/main.rs:175
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/unit_tests/test_utils.rs:39
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/structs/generic_mesh.rs:155
Methodfor_side
(side: TransitionSide)
src/implementation/rotation.rs:52
Methodfrom
Shorthand constructor
src/implementation/voxel_coordinates.rs:98
Methodfrom
(xyz: (isize, isize, isize))
src/implementation/rotation.rs:42
Methodget
(&self, index: RegularVoxelIndex)
src/unit_tests/test_utils.rs:394
Methodget
(&self, index: VoxelIndex)
src/structs/voxel_blocks.rs:26
Methodget_data
(&self, x: f32, y: f32, z: f32)
src/unit_tests/density_calls_tests.rs:99
Methodget_data
(&self, x: C, y: C, z: C)
src/traits/data_field.rs:21
Methodget_data
(&self, x: f32, y: f32, z: f32)
examples/basic_command_line/main.rs:10
Methodgradients_to_normal
Convert 3 directional gradients of the density to a vector orthogonal to the surface, and pointing out
src/traits/voxel_data.rs:61
Functionhigh_res_voxel_index_to_position
Convert a high resolution voxel index (destructured) to a float position.
src/implementation/voxel_coordinates.rs:234
Functionindex_conversion
()
src/implementation/unit_tests.rs:6
Functionindex_conversion2
()
src/implementation/unit_tests.rs:16
Functionindex_conversion3
()
src/implementation/unit_tests.rs:26
Methodinterpolate
Interpolate to determine where between A and B the threshold is crossed
src/traits/voxel_data.rs:47
Methoditerator
()
examples/shared/models.rs:45
Functionmain
()
examples/transition_across_blocks/main.rs:253
Functionmain
()
examples/non_scalar_voxel_data/main.rs:273
Functionmain
()
examples/basic_command_line/main.rs:21
Functionmain
()
examples/single_block/main.rs:229
Methodmatches
(&self, actual: Triangle<f32>)
src/unit_tests/test_utils.rs:68
Functionmouse_motion_system
( time: Res<Time>, mut mouse_motion_event_reader: MessageReader<MouseMotion>, mut query: Query<(&m
examples/shared/flycam.rs:108
Methodmul
(self, rhs: C)
src/structs/position.rs:50
Methodneighbour_index
(side: TransitionSide)
src/structs/block_star_view.rs:49
Methodnew
(rng: StdRng)
src/unit_tests/density_calls_tests.rs:87
Methodnew
(base: [f32; 3], size: f32, subdivisions: usize)
src/unit_tests/test_utils.rs:360
Methodnew
( blocks: &'b BlockStarView<C, V, CentralBlock, DenserNeighbourBlock>, threshold: V::Density,
src/implementation/algorithm.rs:39
Methodnew
Create a fresh builder
src/structs/generic_mesh.rs:51
Methodnew
(base: [C; 3], size: C, subdivisions: usize)
src/structs/block.rs:42
Methodnew
()
examples/shared/models.rs:93
Methodnew_relaying_to_field
( field: &'a dyn DataField<V, C>, block: Block<C>, transition_sides: &TransitionSides,
src/structs/block_star_view.rs:55
Methodnew_simple
(central: B1)
src/structs/block_star_view.rs:84
Methodnone
Empty set of sides
src/structs/transition_sides.rs:48
Functionone_cube_corner_gives_one_triangle
()
src/unit_tests/tests.rs:27
← previousnext →101–200 of 225, ranked by callers