mirror of
https://github.com/redstrate/Physis.git
synced 2025-05-16 23:17:45 +00:00
Make transformation struct available in C
This commit is contained in:
parent
76120b2dd0
commit
6a54c96111
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ pub struct RelativePositions {
|
||||||
#[binrw]
|
#[binrw]
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
#[brw(little)]
|
#[brw(little)]
|
||||||
|
#[repr(C)]
|
||||||
#[allow(dead_code)] // most of the fields are unused at the moment
|
#[allow(dead_code)] // most of the fields are unused at the moment
|
||||||
pub struct Transformation {
|
pub struct Transformation {
|
||||||
pub translation: [f32; 3],
|
pub translation: [f32; 3],
|
||||||
|
|
Loading…
Add table
Reference in a new issue