Skip to content

Commit

Permalink
Merge pull request ggez#730 from PrototypeNM1/patch-1
Browse files Browse the repository at this point in the history
Nit: missed final step in comment calculation
  • Loading branch information
icefoxen authored Jan 2, 2020
2 parents 87ca289 + d2905e2 commit ba0d61c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/graphics/drawparam.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ impl DrawParam {
// let axis_angle = Vec3::z() * self.rotation;
// let rotation = Matrix4::new_rotation(axis_angle);
// let scale = Matrix4::new_nonuniform_scaling(&Vec3::new(self.scale.x, self.scale.y, 1.0));
// translate * offset * rotation * scale * offset_inverse
let cosr = self.rotation.cos();
let sinr = self.rotation.sin();
let m00 = cosr * self.scale.x;
Expand Down

0 comments on commit ba0d61c

Please sign in to comment.