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; pub mod asset;
mod core; mod core;
pub mod render; pub mod render;
mod vertex;
pub use crate::core::*; pub use crate::core::*;
pub use app::{App, AppBuilder}; 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 wgpu::{Buffer, Device};
use zerocopy::AsBytes; use zerocopy::AsBytes;

View file

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