bevy/src/vertex.rs

8 lines
159 B
Rust
Raw Normal View History

2019-12-01 01:42:27 +00:00
use zerocopy::{AsBytes, FromBytes};
#[repr(C)]
#[derive(Clone, Copy, AsBytes, FromBytes)]
pub struct Vertex {
pub pos: [i8; 4],
pub normal: [i8; 4],
}