Skip to content

Commit

Permalink
Update util.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
Raytwo authored Oct 9, 2024
1 parent 8e10f6a commit 970d8f6
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/nn/util.rs
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
#[repr(simd)]
pub struct Vector3f {
pub x: f32,
pub y: f32,
pub z: f32,
pub value: [f32;3]
}

#[repr(simd)]
pub struct Vector4f {
pub x: f32,
pub y: f32,
pub z: f32,
pub w: f32,
pub value: [f32;4]
}

#[allow(unused_imports)]
Expand Down Expand Up @@ -164,4 +159,4 @@ impl BinaryFileHeader {
) -> *mut RelocationTable {
BinaryFileHeader_GetRelocationTable(self)
}
}
}

0 comments on commit 970d8f6

Please sign in to comment.