Skip to content

Commit

Permalink
Change back a name changed to work around a compile bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mmeyerho committed Aug 8, 2012
1 parent 5cf10d5 commit 01e2367
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test.rs
Expand Up @@ -5,7 +5,7 @@ use geom;
import geom::point::Point2D;
import geom::rect::Rect;
import geom::size::Size2D;
import geom::matrix::Mat4;
import geom::matrix::Matrix4;
import layers::*;
import scene::*;
import rendergl::*;
Expand Down Expand Up @@ -98,10 +98,10 @@ struct Renderer {
};

let t = self.t;
self.layer.common.transform = Mat4(400.0f32 * t, 0.0f32, 0.0f32, 0.0f32,
0.0f32, 300.0f32 * t, 0.0f32, 0.0f32,
0.0f32, 0.0f32, 1.0f32, 0.0f32,
0.0f32, 0.0f32, 0.0f32, 1.0f32);
self.layer.common.transform = Matrix4(400.0f32 * t, 0.0f32, 0.0f32, 0.0f32,
0.0f32, 300.0f32 * t, 0.0f32, 0.0f32,
0.0f32, 0.0f32, 1.0f32, 0.0f32,
0.0f32, 0.0f32, 0.0f32, 1.0f32);

let mut scene = Scene(TiledImageLayerKind(self.layer), Size2D(400.0f32, 300.0f32));
//let mut scene = Scene(ImageLayerKind(self.layer), Size2D(400.0f32, 300.0f32));
Expand Down

0 comments on commit 01e2367

Please sign in to comment.