Skip to content

Commit

Permalink
derive clone on surface props
Browse files Browse the repository at this point in the history
  • Loading branch information
Pycckue-Bnepeg committed Oct 13, 2020
1 parent be4b487 commit b2f1737
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/gta/rw/rwplcore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ pub struct RwRGBA {
}

#[repr(C)]
#[derive(Clone)]
pub struct RwSurfaceProperties {
pub ambient: f32, // ambient reflection coefficient
pub ambient: f32, // ambient reflection coefficient
pub specular: f32, // specular reflection coefficient
pub diffuse: f32, // reflection coefficient
pub diffuse: f32, // reflection coefficient
}

#[repr(C)]
Expand Down

0 comments on commit b2f1737

Please sign in to comment.