Skip to content

Commit

Permalink
rewrite
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMiguel211 committed Jul 23, 2024
1 parent 6d622c4 commit 3ab9e32
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions structs/src/scly_props/camera_hint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use reader_writer::{generic_array::GenericArray, typenum::U3, CStr};

use crate::{
scly_props::structs::{CameraHintParameters, BoolFloat, BoolVec3},
SclyPropertyData, impl_position, impl_rotation,
SclyPropertyData,
};

#[auto_struct(Readable, Writable)]
Expand Down Expand Up @@ -37,8 +37,9 @@ pub struct CameraHint<'r> {
pub control_interp_dur: f32,
}

use crate::{impl_position, impl_rotation};
impl<'r> SclyPropertyData for CameraHint<'r> {
const OBJECT_TYPE: u8 = 0x10;
impl_position!();
impl_rotation!();
const OBJECT_TYPE: u8 = 0x10;
}

0 comments on commit 3ab9e32

Please sign in to comment.