geodesic 0.1.0

A Rust library for constructing and sampling 3D geometric scenes.
Documentation
1
2
3
4
5
6
7
8
9
10
use nalgebra::RealField;

/// Camera type enumeration for different projection types.
#[derive(Debug, Clone)]
pub enum Projection<T: RealField + Copy> {
    /// Perspective projection with a field of view.
    Perspective(T),
    /// Orthographic projection with a specified width.
    Orthographic(T),
}