MCPcopy Create free account
hub / github.com/PerroEngine/Perro / ray_ground_point

Function ray_ground_point

perro_editor/res/scripts/scene/editor_viewport.rs:411–420  ·  view source on GitHub ↗
(ray: ViewportRay3D)

Source from the content-addressed store, hash-verified

409 )
410 };
411 true
412 })
413 .unwrap_or(false);
414 if changed {
415 if !sync_selected_preview_field(
416 ctx,
417 "position",
418 &SceneValue::Vec3 {
419 x: point.x,
420 y: point.y,
421 z: point.z,
422 },
423 ) {

Callers 1

handle_viewport_clickFunction · 0.85

Calls 1

absMethod · 0.45

Tested by

no test coverage detected