ogre 0.1.7

A rusty, dual-wielding Quake and Half-Life texture WAD parser.
Documentation
1
2
3
4
5
6
7
8
9
use crate::repr::{texture::Size, Image};

/// An [`Image`] paired with a [`Size`]. Analogous to `qpic_t` in the Quake codebase.
#[derive(Debug, Default, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub struct QPic {
    pub size: Size,
    pub image: Image,
}