nif 0.4.0

A super-primitive Gamebryo NIF parser targeting version 20.0.0.4
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use super::Vector3;
use binread::BinRead;

#[derive(Debug, PartialEq, BinRead, Clone)]
pub struct Quaternion {
    pub w: f32,
    pub x: f32,
    pub y: f32,
    pub z: f32,
}

#[derive(Debug, PartialEq, BinRead, Clone)]
pub struct NiQuatTransform {
    pub translation: Vector3,
    pub rotation: Quaternion,
    pub scale: f32,
}