Skip to content

Commit

Permalink
Allow dead code on GpuCompressedTransform
Browse files Browse the repository at this point in the history
  • Loading branch information
djeedai committed May 18, 2024
1 parent 20867b1 commit 87fb1d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/render/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ impl From<&Mat4> for GpuCompressedTransform {

impl GpuCompressedTransform {
/// Returns the translation as represented by this transform.
#[allow(dead_code)]
pub fn translation(&self) -> Vec3 {
Vec3 {
x: self.x_row.w,
Expand Down

0 comments on commit 87fb1d2

Please sign in to comment.