1 viewer
rust 1,859,753 · typescript 235,218 · javascript 132,950 · python 20,426 · 6,405 files · digest 8b5a693e3c82 · built in 1.7 s · crystals off
crates/cre8-platform-render/src/lib.rs
Items
trait Renderer trait InputSource impl InputSource for Gamepad struct NullInput impl InputSource for NullInput struct OrbitCamera const HELD_LEFT const HELD_RIGHT const HELD_UP const HELD_DOWN const HELD_ZOOM_IN const HELD_ZOOM_OUT impl Default for OrbitCamera impl OrbitCamera const SKY_CLEAR struct CpuRenderer impl CpuRenderer impl Renderer for CpuRenderer
Functions
By call-graph weight (PageRank; 1.0 is the average function). 32 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| OrbitCamera::defaultsrc/lib.rs:77 | trait impl | 11 | 1 | 5 | 0 | 1.7 | |
| dotsrc/lib.rs:202 | fn | 3 | 1 | 2 | 0 | 1.3 | |
| OrbitCamera::reset_posesrc/lib.rs:128 | method | 5 | 1 | 1 | 0 | 1.3 | |
| held_button_slotsrc/lib.rs:159 | fn | 3 | 1 | 1 | 3 | 1.3 | |
| inputsrc/lib.rs:330 | fn | 3 | 1 | 3 | 0 | 1.1 | |
| OrbitCamera::apply_eventsrc/lib.rs:107 | method | 9 | 3 | 1 | 2 | 1.1 | |
| axissrc/lib.rs:187 | fn | 3 | 1 | 1 | 0 | 1.1 | |
| push_meshsrc/lib.rs:211 | fn | 17 | 2 | 1 | 4 | 1 | |
| OrbitCamera::apply_pressed_buttonsrc/lib.rs:117 | method | 10 | 3 | 1 | 1 | 1 | |
| update_held_statesrc/lib.rs:151 | fn | 7 | 2 | 1 | 1 | 1 | |
| horizontal_slotsrc/lib.rs:163 | fn | 7 | 3 | 1 | 0 | 0.9 | |
| vertical_slotsrc/lib.rs:171 | fn | 7 | 3 | 1 | 0 | 0.9 | |
| zoom_slotsrc/lib.rs:179 | fn | 7 | 3 | 1 | 0 | 0.9 | |
| subsrc/lib.rs:196 | fn | 3 | 1 | 1 | 0 | 0.7 | |
| crosssrc/lib.rs:199 | fn | 3 | 1 | 1 | 0 | 0.7 | |
| normsrc/lib.rs:205 | fn | 4 | 1 | 1 | 1 | 0.7 | |
| OrbitCamera::apply_eventssrc/lib.rs:99 | method | 7 | 2 | 1 | 1 | 0.7 | |
| OrbitCamera::advancesrc/lib.rs:134 | method | 5 | 1 | 1 | 1 | 0.7 | |
| world_preview_scenesrc/lib.rs:231 | fn | 34 | 6 | 1 | 1 | 0.6 | |
| CpuRenderer::opensrc/lib.rs:280 | method | 6 | 1 | 1 | 1 | 0.6 | |
| run_world_previewsrc/lib.rs:307 | fn | 18 | 2 | 1 | 5 | 0.6 | |
| OrbitCamera::view_projectionsrc/lib.rs:141 | method | 8 | 1 | 1 | 0 | 0.6 | |
| CpuRenderer::surface_sizesrc/lib.rs:289 | trait impl | 3 | 1 | 1 | 0 | 0.6 | |
| CpuRenderer::upload_scenesrc/lib.rs:292 | trait impl | 4 | 1 | 1 | 0 | 0.6 | |
| CpuRenderer::rendersrc/lib.rs:296 | trait impl | 5 | 1 | 1 | 0 | 0.6 | |
| Gamepad::pollsrc/lib.rs:42 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| NullInput::pollsrc/lib.rs:50 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| OrbitCamera::applysrc/lib.rs:93 | method | 5 | 1 | 0 | 2 | 0.5 | |
| orbit_camera_quits_on_pressed_startsrc/lib.rs:335 | fn | 6 | 1 | 0 | 2 | 0.5 | |
| orbit_camera_holds_direction_until_releasesrc/lib.rs:343 | fn | 13 | 1 | 0 | 2 | 0.5 | |
| orbit_camera_reset_restores_pose_before_auto_stepsrc/lib.rs:358 | fn | 12 | 1 | 0 | 2 | 0.5 | |
| orbit_camera_clamps_pitch_and_radiussrc/lib.rs:372 | fn | 22 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.