vek 0.8.1

Generic 2D-3D math swiss army knife for game engines, with SIMD support and focus on convenience.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! The `FrustumPlanes` type.
//!
//! Other functionality could be added to this module later.  
//! It is not part of `geom` because it is required by some of `Mat4`'s functions.

// NOTE: There's never a sane Default for this, so don't implement or derive it!!
#[derive(Debug, Clone, Copy, Hash, Eq, PartialEq, /*Ord, PartialOrd*/)]
#[cfg_attr(feature="serde", derive(Serialize, Deserialize))]
pub struct FrustumPlanes<T> {
    pub left: T,
    pub right: T,
    pub bottom: T,
    pub top: T,
    pub near: T,
    pub far: T,
}