move vertex to render mod

This commit is contained in:
Carter Anderson 2020-01-11 11:29:57 -08:00
parent 0049715070
commit a9635b2c3d
4 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,6 @@ mod app;
pub mod asset;
mod core;
pub mod render;
mod vertex;
pub use crate::core::*;
pub use app::{App, AppBuilder};

View file

@ -1,4 +1,4 @@
use crate::{asset::Asset, math::*, vertex::Vertex};
use crate::{asset::Asset, math::*, render::Vertex};
use wgpu::{Buffer, Device};
use zerocopy::AsBytes;

View file

@ -9,6 +9,7 @@ mod light;
mod material;
mod rect;
mod render_graph;
mod vertex;
pub use camera::*;
pub use light::*;
@ -18,8 +19,8 @@ pub use rect::*;
pub use render_graph::*;
pub use shader::*;
use crate::vertex::Vertex;
use std::mem;
pub use vertex::Vertex;
pub struct UniformBuffer {
pub buffer: wgpu::Buffer,