This commit is contained in:
Quaternions 2024-02-05 20:28:22 -08:00
parent a2d40e939b
commit 07c11f523a

View File

@ -1,5 +1,5 @@
use bytemuck::{Pod, Zeroable};
use strafesnet_common::model::{IndexedVertex,IndexedVertexList};
use strafesnet_common::model::{IndexedVertex,PolygonGroup};
#[derive(Clone,Copy,Pod,Zeroable)]
#[repr(C)]
pub struct GraphicsVertex{
@ -9,7 +9,7 @@ pub struct GraphicsVertex{
pub color:[f32;4],
}
pub struct IndexedGroupFixedTexture{
pub polys:Vec<IndexedVertexList>,
pub polys:Vec<PolygonGroup>,
}
pub struct IndexedGraphicsModelSingleTexture{
pub unique_pos:Vec<[f32;3]>,