Update name of module

This commit is contained in:
Hanno Braun 2024-12-11 21:07:34 +01:00
parent 2145bc8562
commit ee0e50b5c7
5 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@ use winit::{
use crate::{ use crate::{
geometry::{HandleAny, Shape}, geometry::{HandleAny, Shape},
render::Renderer, render::Renderer,
ui::OperationView, view::OperationView,
}; };
pub fn run(shape: Shape) -> anyhow::Result<()> { pub fn run(shape: Shape) -> anyhow::Result<()> {

View File

@ -6,7 +6,7 @@ mod geometry;
mod math; mod math;
mod model; mod model;
mod render; mod render;
mod ui; mod view;
fn main() -> anyhow::Result<()> { fn main() -> anyhow::Result<()> {
let mut shape = geometry::Shape::default(); let mut shape = geometry::Shape::default();

View File

@ -3,7 +3,7 @@ use std::sync::Arc;
use anyhow::anyhow; use anyhow::anyhow;
use winit::window::Window; use winit::window::Window;
use crate::ui::OperationView; use crate::view::OperationView;
use super::{geometry::Geometry, pipelines::Pipelines, text::TextRenderer}; use super::{geometry::Geometry, pipelines::Pipelines, text::TextRenderer};

View File

@ -1,6 +1,6 @@
use std::fmt::Write; use std::fmt::Write;
use crate::ui::OperationView; use crate::view::OperationView;
pub struct TextRenderer { pub struct TextRenderer {
text_atlas: glyphon::TextAtlas, text_atlas: glyphon::TextAtlas,