hotham 0.2.0

A framework for creating incredible standalone VR experiences
Documentation
1
2
3
4
5
6
7
8
9
10
11
use nalgebra::Matrix4;

/// Component used to represent the world-space transform of the entity in the renderer
#[derive(Debug, Clone, Copy, PartialEq)]
pub struct TransformMatrix(pub Matrix4<f32>);

impl Default for TransformMatrix {
    fn default() -> Self {
        Self(Matrix4::identity())
    }
}