MCPcopy Create free account
hub / github.com/donkeyteethUX/iced_plot / default

Method default

src/camera.rs:37–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35
36impl Default for CameraUniform {
37 fn default() -> Self {
38 Self {
39 view_proj: Mat4::IDENTITY.to_cols_array_2d(),
40 pixel_to_clip: [0.0; 4],
41 pixel_to_world: [0.0; 4],
42 }
43 }
44}
45
46#[derive(Debug, Clone, Default, Copy, PartialEq)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected