MCPcopy Create free account
hub / github.com/cpmech/plotpy / draw_sphere_works

Function draw_sphere_works

src/surface_geometry.rs:562–566  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

560
561 #[test]
562 fn draw_sphere_works() {
563 let mut surf = Surface::new();
564 surf.draw_sphere(&[0.0, 0.0, 0.0], 1.0, 2, 2).unwrap();
565 assert!(surf.get_buffer().len() > 0);
566 }
567}

Callers

nothing calls this directly

Calls 1

draw_sphereMethod · 0.80

Tested by

no test coverage detected