Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aclysma/minimum
/ functions
Functions
525 in github.com/aclysma/minimum
⨍
Functions
525
◇
Types & classes
169
↓ 36 callers
Method
build
(self)
minimum-editor/src/select.rs:174
↓ 35 callers
Method
add_line
Input here is world space
minimum-editor/src/resources/editor_draw_2d.rs:113
↓ 26 callers
Method
into
(self)
minimum-math/src/math.rs:36
↓ 22 callers
Method
position
(&self)
minimum-transform/src/components/transform.rs:101
↓ 20 callers
Method
components_by_uuid
(&self)
minimum-kernel/src/component_registry.rs:105
↓ 16 callers
Method
build
(mut self)
examples/example-sdl2/src/systems/mod.rs:46
↓ 16 callers
Method
clear
Recommended to call every frame to ensure that this doesn't grow unbounded
minimum-game/src/resources/debug_draw_2d.rs:112
↓ 15 callers
Method
always
( mut self, f: F, )
examples/example-winit/src/systems/mod.rs:51
↓ 15 callers
Method
always
( mut self, f: F, )
examples/example-sdl2/src/systems/mod.rs:50
↓ 15 callers
Function
ray_ray_intersect_3d
( r0: NormalizedRay, r1: NormalizedRay, t0_max: f32, t1_max: f32, )
minimum-math/src/functions.rs:169
↓ 14 callers
Method
world_mut
(&mut self)
minimum-editor/src/resources/editor_state.rs:1076
↓ 13 callers
Method
get
( &self, handle: &T, )
minimum-kernel/src/asset_storage.rs:164
↓ 11 callers
Method
copy_clone_impl
(&self)
minimum-kernel/src/component_registry.rs:109
↓ 10 callers
Method
init
( &mut self, world: &mut World, resources: &mut Resources, window: &dyn Window
examples/example-winit/src/lib.rs:132
↓ 9 callers
Method
build
(mut self)
examples/example-winit/src/systems/mod.rs:47
↓ 9 callers
Function
create_default_asset_daemon
()
minimum/src/daemon.rs:39
↓ 8 callers
Method
auto_register_components
(mut self)
minimum-kernel/src/component_registry.rs:29
↓ 8 callers
Method
is_shape_drag_just_finished
( &self, mouse_button: MouseButton, )
minimum-editor/src/resources/editor_draw_2d.rs:443
↓ 8 callers
Method
keybinds
(&self)
minimum-editor/src/resources/editor_settings.rs:25
↓ 7 callers
Method
always_thread_local
( mut self, f: F, )
examples/example-winit/src/systems/mod.rs:90
↓ 7 callers
Method
always_thread_local
( mut self, f: F, )
examples/example-sdl2/src/systems/mod.rs:89
↓ 7 callers
Method
components
(&self)
minimum-kernel/src/component_registry.rs:101
↓ 7 callers
Method
into
(self)
contrib/minimum-sdl2/src/input.rs:22
↓ 7 callers
Method
is_entity_selected
( &self, entity: Entity, )
minimum-editor/src/resources/editor_selection.rs:100
↓ 7 callers
Function
vec3_glam_to_glm
(value: glam::Vec3)
minimum-math/src/na_convert.rs:7
↓ 7 callers
Method
viewport_space_to_ray
( &self, viewport_position: glam::Vec2, )
minimum-game/src/resources/viewport.rs:147
↓ 6 callers
Method
add_circle_xy
Takes an X/Y axis pair and center position
minimum-game/src/resources/debug_draw_3d.rs:76
↓ 6 callers
Function
cook_prefab
( asset_manager: &mut AssetResource, registered_components: &HashMap<ComponentTypeId, ComponentRegistr
minimum-kernel/src/prefab_cooking.rs:17
↓ 6 callers
Method
cooked_prefab
(&self)
minimum-editor/src/resources/editor_state.rs:142
↓ 6 callers
Method
is_key_down
Returns true if the given key is down
minimum-game/src/input.rs:100
↓ 6 callers
Method
is_simulation_paused
(&self)
minimum-game/src/resources/time.rs:66
↓ 6 callers
Method
loader
(&self)
minimum-kernel/src/resources/asset.rs:96
↓ 6 callers
Function
point_segment_intersect_2d
( test_point: glam::Vec2, p0: glam::Vec2, p1: glam::Vec2, )
minimum-math/src/functions.rs:19
↓ 6 callers
Method
scale
Get the uniform and non-uniform scale factors combined
minimum-transform/src/components/transform.rs:152
↓ 6 callers
Method
shape_drag_in_progress_or_just_finished
( &self, mouse_button: MouseButton, )
minimum-editor/src/resources/editor_draw_2d.rs:466
↓ 6 callers
Method
storage
(&self)
minimum-kernel/src/resources/asset.rs:100
↓ 6 callers
Method
update
Writes data to the world without an undo step. The transaction can be cancelled to return the world to the state when the transaction began.
minimum-editor/src/resources/editor_state.rs:1082
↓ 5 callers
Method
apply_diff
( world: &mut World, resources: &Resources, diffs: &WorldDiff, post_commit_sel
minimum-editor/src/resources/editor_state.rs:843
↓ 5 callers
Method
commit
Commits the transaction, writing an undo step
minimum-editor/src/resources/editor_state.rs:1100
↓ 5 callers
Method
drawable_size
(&self)
contrib/minimum-sdl2/src/resources/sdl2_window.rs:36
↓ 5 callers
Method
into
(self)
contrib/minimum-winit/src/input.rs:21
↓ 5 callers
Method
mouse_drag_in_progress
Returns the mouse drag state if a drag is in process, otherwise None.
minimum-game/src/input.rs:270
↓ 5 callers
Method
rotation_quat
Get the world-space rotation
minimum-transform/src/components/transform.rs:110
↓ 5 callers
Method
uniform_scale
Get the uniform scaling factor
minimum-transform/src/components/transform.rs:135
↓ 5 callers
Method
viewport_space_to_segment
( &self, viewport_position: glam::Vec2, )
minimum-game/src/resources/viewport.rs:137
↓ 4 callers
Method
add_line_loop
( &mut self, mut points: Vec<glam::Vec2>, color: glam::Vec4, )
minimum-game/src/resources/debug_draw_2d.rs:36
↓ 4 callers
Method
add_line_strip
( &mut self, points: Vec<glam::Vec3>, color: glam::Vec4, depth_behavior: Debug
minimum-game/src/resources/debug_draw_3d.rs:37
↓ 4 callers
Method
create_transaction_from_selected
( &self, selection_resources: &EditorSelectionResource, component_registry: &Component
minimum-editor/src/resources/editor_state.rs:1006
↓ 4 callers
Method
enqueue_set_active_editor_tool
( &mut self, editor_tool: EditorTool, )
minimum-editor/src/resources/editor_state.rs:505
↓ 4 callers
Method
get_closest_shape
test_position is ui space, the shapes we keep are in world space TODO: Consider converting to ui space immediately
minimum-editor/src/resources/editor_draw_2d.rs:157
↓ 4 callers
Method
get_closest_shape
( &self, mouse_position: glam::Vec2, viewport: &ViewportResource, )
minimum-editor/src/resources/editor_draw_3d.rs:282
↓ 4 callers
Method
gizmo_transaction_mut
(&mut self)
minimum-editor/src/resources/editor_state.rs:280
↓ 4 callers
Method
is_key_just_down
Returns true if the key went down during this frame
minimum-game/src/input.rs:112
↓ 4 callers
Method
mouse_drag_just_finished
Returns information about a mouse drag if it just completed, otherwise None
minimum-game/src/input.rs:294
↓ 4 callers
Method
opened_prefab
(&self)
minimum-editor/src/resources/editor_state.rs:248
↓ 4 callers
Method
project_mouse_to_world
( &self, mouse_ray: NormalizedRay, )
minimum-editor/src/resources/editor_draw_3d.rs:77
↓ 4 callers
Function
quat_glam_to_glm
(value: glam::Quat)
minimum-math/src/na_convert.rs:36
↓ 4 callers
Function
render_row
( ui: &imgui::Ui, label: &'static str, axis: &glam::Vec4, )
minimum-math/src/matrix.rs:49
↓ 4 callers
Function
render_row_mut
( ui: &imgui::Ui, label: &'static str, data: &mut [&mut Mat4], get_axis_fn: GetF, set_axis
minimum-math/src/matrix.rs:64
↓ 4 callers
Method
selected_entities
(&self)
minimum-editor/src/resources/editor_selection.rs:61
↓ 4 callers
Method
set_simulation_time_paused
( &mut self, paused: bool, reason: SimulationTimePauseReason, )
minimum-game/src/resources/time.rs:44
↓ 4 callers
Method
take_line_lists
Returns the draw data, leaving this object in an empty state
minimum-game/src/resources/debug_draw_2d.rs:107
↓ 4 callers
Method
tx
(&self)
minimum-kernel/src/resources/asset.rs:104
↓ 4 callers
Function
update_viewport
( viewport: &mut ViewportResource, viewport_size_in_pixels: glam::Vec2, camera_position: glam::Vec
examples/example-shared/src/viewport.rs:59
↓ 4 callers
Method
viewport_space_to_world_space
In: pixel coordinates within the viewport. Top left: (0, 0) Bottom right: self.size_in_pixels Out: Position in world space. If clip range = 0 it will
minimum-game/src/resources/viewport.rs:118
↓ 4 callers
Method
xy
(&self)
minimum-math/src/math.rs:117
↓ 3 callers
Method
active_editor_tool
(&self)
minimum-editor/src/resources/editor_state.rs:465
↓ 3 callers
Method
draw
( &mut self, world: &mut World, resources: &mut Resources, )
examples/example-winit/src/lib.rs:212
↓ 3 callers
Method
enqueue_add_to_selection
( &mut self, entities: Vec<Entity>, )
minimum-editor/src/resources/editor_selection.rs:69
↓ 3 callers
Method
enqueue_diffs
( &mut self, diffs: TransactionDiffs, commit_changes: bool, post_commit_select
minimum-editor/src/resources/editor_state.rs:691
↓ 3 callers
Method
enqueue_remove_from_selection
( &mut self, entities: Vec<Entity>, )
minimum-editor/src/resources/editor_selection.rs:77
↓ 3 callers
Method
enqueue_set_selection
( &mut self, selected_entities: Vec<Entity>, )
minimum-editor/src/resources/editor_selection.rs:91
↓ 3 callers
Method
enqueue_terminate_process
Direct the application to terminate at the end of the next frame
minimum-game/src/resources/app_control.rs:12
↓ 3 callers
Method
fatal_error
( &mut self, error: &app::AppError, )
examples/example-winit/src/lib.rs:222
↓ 3 callers
Function
imgui_menu_tool_button
( ui: &imgui::Ui, editor_state: &mut EditorStateResource, editor_tool: EditorTool, string: &'s
minimum-editor/src/systems/main_menu.rs:10
↓ 3 callers
Method
inner_size
(&self)
contrib/minimum-winit/src/resources/winit_window.rs:22
↓ 3 callers
Method
is_editor_active
(&self)
minimum-editor/src/resources/editor_state.rs:252
↓ 3 callers
Function
linear_to_gamma
(value: f32)
contrib/minimum-sdl2/src/imgui.rs:189
↓ 3 callers
Method
mouse_button_just_clicked_position
Returns the position the button was just clicked at, otherwise None. "Clicked" means the button went down and came back up without being moved much. I
minimum-game/src/input.rs:221
↓ 3 callers
Function
ray_intersect_internal
( p0: glam::Vec3, d0: glam::Vec3, t0_min: f32, t0_max: f32, p1: glam::Vec3, d1: glam::
minimum-math/src/functions.rs:220
↓ 3 callers
Method
restore_selected_uuids
( &mut self, selection_resource: &mut EditorSelectionResource, selected_uuids: &HashSe
minimum-editor/src/resources/editor_state.rs:625
↓ 3 callers
Method
save
( &mut self, component_registry: &ComponentRegistry, asset_resource: &AssetResource,
minimum-editor/src/resources/editor_state.rs:941
↓ 3 callers
Method
type_name
(&self)
minimum-kernel/src/asset_storage.rs:469
↓ 3 callers
Method
uuid
(&self)
minimum-editor/src/resources/editor_state.rs:154
↓ 3 callers
Function
vec2_glam_to_glm
(value: glam::Vec2)
minimum-math/src/na_convert.rs:3
↓ 3 callers
Method
viewport_space_to_normalized_space
In: pixel coordinates within the viewport. Top left: (0, 0) Bottom right: self.size_in_pixels Out: the normalized device coordinates. Top left: (-1, -
minimum-game/src/resources/viewport.rs:107
↓ 3 callers
Method
with_context
Allows access to the context without caller needing to be aware of locking
contrib/minimum-sdl2/src/imgui.rs:121
↓ 3 callers
Method
with_ui
Allows access to the ui without the caller needing to be aware of locking. A frame must be started
minimum-game/src/imgui.rs:244
↓ 3 callers
Method
world
(&self)
minimum-editor/src/resources/editor_state.rs:1072
↓ 3 callers
Method
world_space_to_normalized_space_internal
( &self, world_position: glam::Vec3, )
minimum-game/src/resources/viewport.rs:201
↓ 2 callers
Method
add_circle_outline
Input here is world space
minimum-editor/src/resources/editor_draw_2d.rs:133
↓ 2 callers
Method
add_line_strip
Adds a single polygon
minimum-game/src/resources/debug_draw_2d.rs:25
↓ 2 callers
Method
begin_draw_context
( &mut self, canvas: &mut skia_safe::Canvas, coordinate_system_helper: skulpin::Coordi
contrib/minimum-skulpin/src/resources/canvas_draw.rs:18
↓ 2 callers
Method
begin_frame
Start a new frame
minimum-game/src/imgui.rs:181
↓ 2 callers
Method
create_empty_editor_selection_world
(&self)
minimum-editor/src/select.rs:186
↓ 2 callers
Method
current_instant
`std::time::Instant` object captured at the start of the most recent update
minimum-game/src/resources/time.rs:167
↓ 2 callers
Method
do_update
( &mut self, asset_resource: &AssetResource, editor_state: &mut EditorStateResource,
minimum-editor/src/resources/editor_state.rs:1137
↓ 2 callers
Method
editor_selection_world
(&mut self)
minimum-editor/src/resources/editor_selection.rs:57
↓ 2 callers
Method
end_draw_context
(&mut self)
contrib/minimum-skulpin/src/resources/canvas_draw.rs:30
↓ 2 callers
Method
enqueue_reset
(&mut self)
minimum-editor/src/resources/editor_state.rs:481
next →
1–100 of 525, ranked by callers