mirror of
https://github.com/bevyengine/bevy
synced 2024-11-21 20:23:28 +00:00
move vertex to render mod
This commit is contained in:
parent
0049715070
commit
a9635b2c3d
4 changed files with 3 additions and 3 deletions
|
@ -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};
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue