termgpu 0.1.0

A GPU-accelerated terminal graphics engine for Rust, enabling real-time 3D rendering in the terminal.
1
2
3
4
5
6
7
8
9
10
11
//! Mesh module provides structures and utilities for handling 3D mesh data.
//! It includes definitions for vertices and meshes, as well as methods for generating 
//! faces for a voxel-based rendering system.
use crate::render::vertex::Vertex;

/// A mesh structure containing vertex data.
#[derive(Debug, Clone, Default)]
pub struct Mesh {
    /// The list of vertices that form the mesh.
    pub vertex_data: Vec<Vertex>,
}