mirror of
https://github.com/guilhermewerner/wgpu-renderer
synced 2025-06-16 13:54:21 +00:00
13 lines
231 B
Rust
13 lines
231 B
Rust
use serde::{Deserialize, Serialize};
|
|
|
|
/// Face of a vertex.
|
|
#[repr(C)]
|
|
#[derive(Copy, Clone, Debug, Hash, Eq, PartialEq, Serialize, Deserialize)]
|
|
pub enum Face {
|
|
/// Front face
|
|
Front = 0,
|
|
|
|
/// Back face
|
|
Back = 1,
|
|
}
|