mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 04:33:37 +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;
|
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};
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue